player id error.
#1

Hey guys,

i'm getting an error on player id... i just started making a new script and thought to start with on gm init....

pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "meh... See Rules First.", "EVERYTHING IS ALLOWED EXCEPT FOR HACKING.", "OK", "Not Ok.");
The Error i'm getting is:-
pawn Код:
F:\Program Files\Rockstar Games\GTA San Andreas\NRGaming V.4\gamemodes\Untitled.pwn(37) : error 017: undefined symbol "playerid"
Reply
#2

Quote:
Originally Posted by a.z.a.r
Посмотреть сообщение
Hey guys,

i'm getting an error on player id... i just started making a new script and thought to start with on gm init....

pawn Код:
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_MSGBOX, "meh... See Rules First.", "EVERYTHING IS ALLOWED EXCEPT FOR HACKING.", "OK", "Not Ok.");
The Error i'm getting is:-
pawn Код:
F:\Program Files\Rockstar Games\GTA San Andreas\NRGaming V.4\gamemodes\Untitled.pwn(37) : error 017: undefined symbol "playerid"
Put it at "OnPlayerConnect" not "OnGamemodeInit", "OnGamemodeInit" is just there to add objects and stuff if you start your server.
Reply
#3

OMG SUPER HELPFUL +1 REPPED!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)