![]() |
Report System Help
PHP Code:
|
Quote:
sendtorc(msg) |
That doesnt really help me, because that doesnt involve any GUIs
|
Your problem isn't with GUIs though, you use triggerserver to send the data (I.e: Report_TextEdit2.text) Reason from the client to the server and display it to RC using sendtorc.
|
Quote:
This seriously confuses me... New towards scripting Dx |
Syntax: triggerserver(type, name, param, [...])
type - Depending on what you're doing this will usually be "gui" if you're using it in a weapon script. You can also trigger DB-NPCs by specifying "npc" instead. name - Name of object to trigger, you'll most often be specifying the weapon/npc's name by using it's this.name value. param - Short for parameter, this is the data you are sending to the server. ... - (Optional) You can specify as many additional parameters as you want, if you need more than 10 you probably need to re-think your approach. Example: Sending a message to the server in a weapon script. PHP Code:
|
| All times are GMT +2. The time now is 01:29 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.