Proxdetector error??
#1

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?
Reply
#2

What kind of errors? Please elaborate and show us the codes.
Reply
#3

Code:
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.
Reply
#4

add this stock
i think this will fix that

pawn Code:
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;
}
Reply
#5

Use this one.

Code:
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);
}
}
Faster, smaller and better.
Reply
#6

i tried these but still is giving me... the same stuff
Reply
#7

ANYONE PLS
Reply
#8

can the prob be in this

Code:
  			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);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)