Problem with MAP
#1

Hello when i put a map, i have problems with RemoveBuilding.




C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(6942) : warning 204: symbol is assigned a value that is never used: "vehicless"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(7671) : warning 204: symbol is assigned a value that is never used: "vehicles"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(9896) : warning 204: symbol is assigned a value that is never used: "mcard"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(9881) : warning 204: symbol is assigned a value that is never used: "afktime"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11119) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11120) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11121) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11122) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11123) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11124) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11125) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11126) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11127) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(1112 : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11129) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11130) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11131) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11132) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11133) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11134) : error 017: undefined symbol "playerid"
C:\Users\Alex\Desktop\03e bz mode\03e bz mode\gamemodes\BZone.pwn(11135) : error 017: undefined symbol "playerid"
Reply
#2

You must put the "RemoveBuildingForPlayer" under "OnPlayerConnect" callback.
Reply
#3

Quote:
Originally Posted by ZackBoolaro
Посмотреть сообщение
You must put the "RemoveBuildingForPlayer" under "OnPlayerConnect" callback.
Can you give me a " model "?
Reply
#4

They have to be just like that
pawn Код:
public OnPlayerConnect(playerid)
{
    // When the player connects model "615" which is veg_tree3 will be deleted within a range of 200.0
    // from the point: 0.0, 0.0, 0.0, which is the center of San Andreas.
    RemoveBuildingForPlayer(playerid, 615, 0.0, 0.0, 0.0, 200.0);
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)