PDA

View Full Version : Proxdetector error??


KaliKs
08/03/2014, 09:31 AM
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?

Bingo
08/03/2014, 09:32 AM
What kind of errors? Please elaborate and show us the codes.

KaliKs
08/03/2014, 09:42 AM
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 (c) 1997-2006, ITB CompuPhase


26 Errors.

iThePunisher
08/03/2014, 09:49 AM
add this stock
i think this will fix that

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;
}

GrandParadise
08/03/2014, 09:55 AM
Use this one.

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.

KaliKs
08/03/2014, 03:03 PM
i tried these but still is giving me... the same stuff

KaliKs
08/03/2014, 06:56 PM
ANYONE??? PLS

KaliKs
08/03/2014, 06:58 PM
can the prob be in this???

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);