Error 17 : undefined symbole "playerid"
#1

Hey all wasssup ? ... i am creatin some nice objects .. But i got 1 error
Код:
C:\Users\MuhgUl\Desktop\(FINAL)\filterscripts\0.3cObjects.pwn(170) : error 017: undefined symbol "playerid"
and i am using like
pawn Код:
RemoveBuildingForPlayer(playerid, 5634, 1931.3125, -1574.8438, 16.4609, 0.25);
... Please i need this sums solution !!!
Reply
#2

Where do you use
pawn Код:
RemoveBuildingForPlayer(playerid, 5634, 1931.3125, -1574.8438, 16.4609, 0.25);
Reply
#3

Put it to OnPlayerConnect
Reply
#4

You have probably used it under OnGameModeInt(). Param playerid isn't defined under OnGameModeInit since when this callback is called gm is initializing, players connect later. As TzAkS. said use it under OnPlayerConnect.
Reply
#5

Thanks all problem solved : but unfortunattly it disapear my all other objects in /ls and /kv... but why ?
Reply
#6

Its disapear only what is with RemoveBuildingForPlayer
Reply
#7

Quote:
Originally Posted by TzAkS.
Посмотреть сообщение
Its disapear only what is with RemoveBuildingForPlayer
i already tried to run with removing " RemoveBuildingforPlayer " but again i was failed any way... thanksss !!! i choud use that code again but that is probably
Код:
CreateObject ( example example :
and i have to make it like
Код:
    CreateObject (Example example :
and there are thousens of line . previous got delated and i cant do that all again :P
Reply
#8

You can use Map Editor and remove buildings like "In-Game" by pressing delete,and then put your codes into Gamemode.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)