Saving SetPlayerMapIcon
#1

i need a help from you guys i get an error when i save this:

SetPlayerMapIcon(playerid, 46, 1461.68, -1010.27, 26.84, 52, 0); //

Error: undefined symbol ''playerid''



i put it on OnGameModeInit section or im wrong? where should i put it? how?
Reply
#2

Put it in OnPlayerConnect
Reply
#3

u should put things with playerid in OnGamemodeInit. Because OnGamemodeInit doesnt have any parameter to get player id . that callback is called when u open server.exe (which doesn't deal with playerid).
put it under OnPlayerConnect
Reply
#4

that explains alot.. thank you
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)