SA-MP Forums Archive
GameTextForPlayer = ??? - 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: GameTextForPlayer = ??? (/showthread.php?tid=89772)



GameTextForPlayer = ??? - MB@ - 04.08.2009

When i type:
GameTextForPlayer(playerid, "Stunt_World" , 5 , 1);

I get eror

C:\Documents and Settings\Administrator\Desktop\Stunt-server\gamemodes\StuntWorld.pwn(59) : error 017: undefined symbol "playerid"

what should i do??


Re: GameTextForPlayer = ??? - MB@ - 04.08.2009

I need ansrew


Re: GameTextForPlayer = ??? - clean180ollie - 04.08.2009

I See You Really Dont Know How To Script...

Your Supposed To Put GameTextforplayer

in The Callbacks that have playerid in them




Re: GameTextForPlayer = ??? - MB@ - 04.08.2009

lol?
What should i put??


Re: GameTextForPlayer = ??? - clean180ollie - 04.08.2009

Quote:
Originally Posted by MB@
lol?
What should i put??
Where Ever You Want To Put it as long as it has

(playerid);


Re: GameTextForPlayer = ??? - Karlip - 04.08.2009

https://sampwiki.blast.hk/wiki/GameTextForPlayer


Re: GameTextForPlayer = ??? - MB@ - 04.08.2009

i dont understand can u send a pic of it or something


Re: GameTextForPlayer = ??? - Dreftas - 04.08.2009

https://sampwiki.blast.hk/wiki/Category:Scripting_Callbacks

If callback don't have (playerid) then you can't put GameTextForPlayer there.
Same for your created callbacks.


Re: GameTextForPlayer = ??? - clean180ollie - 04.08.2009

OMG.....

DO Something Like This

Код:
public OnPlayerConnect(playerid)
{
 SetGameModeText("I Cant Script");
 return 1;
}
YOU SEE PLAYER ID?