PDA

View Full Version : OnGameModeInit Help


Alyster
09/11/2012, 02:00 AM
I've just created an interior with SAMP Map Constrution and I've removed some items. Once I move the code to pawno, I'm unable to compile it because I get errors and I don't know how to fix them.

Here is my script if anyone is able to help:

RemoveBuildingForPlayer(playerid, 1806, 213.2891, 182.4219, 1002.0234, 0.25);
RemoveBuildingForPlayer(playerid, 2185, 213.7578, 181.7813, 1002.0156, 0.25);
RemoveBuildingForPlayer(playerid, 1722, 231.6172, 178.3594, 1002.0234, 0.25);
RemoveBuildingForPlayer(playerid, 1722, 231.6172, 179.6719, 1002.0234, 0.25);
RemoveBuildingForPlayer(playerid, 1722, 231.6172, 179.0234, 1002.0234, 0.25);

Here are the error messages I get:

error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"

Glad2BeHere
09/11/2012, 02:01 AM
put that under onplayerconnect

Alyster
09/11/2012, 03:15 AM
Thank you