SA-MP Forums Archive
CallRemoteFunction ... passing a TextDraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: CallRemoteFunction ... passing a TextDraw (/showthread.php?tid=71258)



CallRemoteFunction ... passing a TextDraw - Sir_Brock - 31.03.2009

Is it a string, integer, float? what?!

Not sure what to use...

Код:
CallRemoteFunction("TimeTextForPlayer", "i_i", playerid,txttwt[playerid],10000);
The _ is where the textdraw is. What do I pass it as?



Re: CallRemoteFunction ... passing a TextDraw - gijsmin - 31.03.2009

pawn Код:
CallRemoteFunction("TimeTextForPlayer", "isi", playerid,txttwt[playerid],10000);



Re: CallRemoteFunction ... passing a TextDraw - Mikep - 31.03.2009

Gijsmin: The textdraw is an ID moron.
Sir_Brock: i for integer


Re: CallRemoteFunction ... passing a TextDraw - Sir_Brock - 31.03.2009

As either it gives me warnings of tag mismatches.

Ignore me, just needed the _:

Код:
CallRemoteFunction("TimeTextForPlayer", "iii", playerid,_:txttwt[playerid],10000);