30.05.2012, 08:42
Im getting this error
Код:
C:\Documents and Settings\Mark&Matt\My Documents\Downloads\Games Installer\GTA San Andreas + SAMP\Next Revolution Roleplay\Next Revolution Roleplay\gamemodes\NR-RP.pwn(55119) : error 017: undefined symbol "PickUpBoombox" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.
pawn Код:
CMD:pickupboombox(playerid, params[])
{
if (PlayerInfo[playerid][pAdmin] <=3)
{
SendClientMessage(playerid, COLOR_RED, "You are not a Admin!");
return 1;
}
if (PlayerInfo[playerid][pBoombox] == 0)
{
SendClientMessageEx(playerid, COLOR_RED, "You haven't placed a Boombox!");
return 1;
}
if(IsPlayerInRangeOfPoint(playerid, 3.0, GetPVarFloat(playerid, "DYN_Boombox_FLOAT_X"), GetPVarFloat(playerid, "DYN_Boombox_FLOAT_Y"), GetPVarFloat(playerid, "DYN_Boombox_FLOAT_Z")))
{
PickUpBoombox(playerid);
SendClientMessageEx(playerid, COLOR_YELLOW, "Boombox picked up successfully.");
return 1;
}
return 1;
}