12.10.2011, 16:42
How can I call function via string.
I have "xyz" saved at file like "xyz = 55.446,4244.4148,49974.54554", how i can call it in some function (Like SetPlayerPos)
Here is some examples;
or
Or any way, just help
I have "xyz" saved at file like "xyz = 55.446,4244.4148,49974.54554", how i can call it in some function (Like SetPlayerPos)
Here is some examples;
Code:
string_with_this_floats = "55.446,4244.4148,49974.54554"; format(string,128,"%s",string_with_this_floats); CallSomeFunction("SetPlayerPos", "fff",string);
Code:
string_with_this_floats = "55.446,4244.4148,49974.54554"; format(string,128,SetPlayerPos(playerid,%s),string_with_this_floats); CallSomeFunction(string);