Error 17 : undefined symbole "playerid" -
HaZaRaS™ - 15.05.2012
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 !!!
Re: Error 17 : undefined symbole "playerid" -
[D]ry[D]esert - 15.05.2012
Where do you use
pawn Код:
RemoveBuildingForPlayer(playerid, 5634, 1931.3125, -1574.8438, 16.4609, 0.25);
Re: Error 17 : undefined symbole "playerid" -
TzAkS. - 15.05.2012
Put it to OnPlayerConnect
Re: Error 17 : undefined symbole "playerid" -
[MG]Dimi - 15.05.2012
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.
Re: Error 17 : undefined symbole "playerid" -
HaZaRaS™ - 15.05.2012
Thanks all problem solved : but unfortunattly it disapear my all other objects in /ls and /kv... but why ?
Re: Error 17 : undefined symbole "playerid" -
TzAkS. - 15.05.2012
Its disapear only what is with RemoveBuildingForPlayer
Re: Error 17 : undefined symbole "playerid" -
HaZaRaS™ - 15.05.2012
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
Re: Error 17 : undefined symbole "playerid" -
TzAkS. - 15.05.2012
You can use Map Editor and remove buildings like "In-Game" by pressing delete,and then put your codes into Gamemode.