CallRemoteFunction doesnt appear - 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 doesnt appear (
/showthread.php?tid=259631)
CallRemoteFunction doesnt appear -
geerdinho8 - 05.06.2011
pawn Код:
new name[MAX_PLAYER_NAME], string[44];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s has finished 1st.",name);
CallRemoteFunction("ShowInfoBoxPersonal", "isi",playerid,string,0);
I've made this, but if finish 1st, it doesnt appear, the rest does like GivePlayerMoney..
Re: CallRemoteFunction doesnt appear -
geerdinho8 - 05.06.2011
pawn Код:
forward ShowInfoBoxPersonal(const string[]);
public ShowInfoBoxPersonal(const string[])
{
printf("ShowInfoBoxPersonal> %s", string);
return 1;
}
Re: CallRemoteFunction doesnt appear -
Amit_B - 05.06.2011
ShowInfoBoxPersonal contains one argument, while you have called the same function with 3 arguments.
pawn Код:
CallRemoteFunction("ShowInfoBoxPersonal", "s",string);
This should work here, I guess...