03.10.2011, 16:34
Hi, I would like to know how you can through the 'return' variable 'float' and 'string'..
example:
GameMode:
Filterscript:
Unfortunately does not work..
How do you do?
Maybe you know some other way of communication between GM and FS
Please help.
example:
GameMode:
Code:
new Name[150]; new Coords[3] = 0.0; forward ExampleFunc(playerid); public ExampleFunc(playerid) return Name[playerid]; forward ExampleFunc2(a); public ExampleFunc2(a) return Coords[a];
Code:
SendClientMessage(playerid, 0x000000AA, "The veh name: %s", CallRemoteFunction("ExampleFunc", "d", playerid)); SetPlayerPos(CallRemoteFunction("ExampleFunc2", "i", 0), CallRemoteFunction("ExampleFunc2", "i", 1), CallRemoteFunction("ExampleFunc2", "i", 2));
How do you do?
Maybe you know some other way of communication between GM and FS
Please help.