08.03.2014, 09:31
hello guys igot this problem i removed my maps and i removed a command what was /newspaper CMD so wouldnt give me any errors (created by me) but now i get only proxdetector errors.... any ideas?
C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3448) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3456) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3463) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3472) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3486) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3493) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3497) : error 017: undefined symbol "GivePlayerCash" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3500) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3507) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3515) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3522) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3529) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3537) : error 017: undefined symbol "GivePlayerCash" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3540) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3547) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3554) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3576) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3585) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3597) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3612) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3620) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3628) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3646) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3668) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3676) : error 017: undefined symbol "ProxDetector" C:\Users\Erik\Desktop\SAMP\SAMP Scripts\NSRP\gamemodes\NSRP.pwn(3684) : error 017: undefined symbol "GivePlayerCash" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
stock ProxDetector(playerid, color, const message[], Float:Range)
{
new
Float:_Position[ 3], idx = 0
;
GetPlayerPos( playerid, _Position[0], _Position[1], _Position[2] );
while(idx++ < MAX_PLAYERS && IsPlayerConnected(idx))
{
if(GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(idx) && IsPlayerInRangeOfPoint(idx, Range, _Position[0], _Position[1], _Position[2]))
{
SendClientMessage(idx, color, message);
}
}
return true;
}
stock ProxDetector(Float:radi, playerid, string[],color) { new Float:x,Float:y,Float:z; GetPlayerPos(playerid,x,y,z); for(new player;player<MAX_PLAYERS;player++) { if(!IsPlayerConnected(playerid))continue; if(IsPlayerInRangeOfPoint(playerid,radi,x,y,z))Sen dClientMessage(player,color,string); } }
SetPlayerInterior(playerid,0); SetPlayerPos(playerid, 1543.6473,-1675.6683,13.5569);//SetPlayerPos(playerid, 1715.1201,-1903.1711,13.5665); SetPlayerFacingAngle(playerid, 359.4621); SetCameraBehindPlayer(playerid);