![]() |
Sending Information Serverside -> Clientside
Well, I can't figure out a way to do this. I've tried:
triggeractions functions assigning things to vars/strings/arrays Here's an example of a script that won't work: NPC Code:function onCreated() If you know how, let me know. Thank you. |
triggerAction(x+.1,y+.1,"clientside","test");
^ ^ 1st of all and recieve it using function onActionClientside(){ if (params[0] == "test"){ message("recieved"); } } triggerClient() is easier |
What said is what I did, and it's not working.
Also, triggerClient()? how do I use it? |
Quote:
|
why the +.1?
|
Quote:
|
Well, the last time I tried to do it the only way to communicate serverside -> clientside was to write to/read the attr[] variables.
|
| All times are GMT +2. The time now is 09:17 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.