C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(2978) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(2985) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(2992) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3001) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3015) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3022) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3026) : error 017: undefined symbol "GivePlayerCash" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3029) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3036) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3044) : error 017: undefined symbol "GivePlayerCash" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3047) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3054) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3061) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3075) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3084) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3096) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3115) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3129) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3143) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3151) : error 017: undefined symbol "GivePlayerCash" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3156) : error 017: undefined symbol "ProxDetector" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3324) : error 017: undefined symbol "GivePlayerCash" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3582) : error 017: undefined symbol "GivePlayerCash" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(3583) : error 017: undefined symbol "GivePlayerCash" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(4884) : error 017: undefined symbol "NOPCheck" C:\Users\Ramin\Desktop\PL-RP\gamemodes\PL-RP.pwn(5494) : error 017: undefined symbol "NOPCheck" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
Do you have ProxDetector, GivePlayerCash and NOPCheck as either a 'new' or a 'stock'
|
stock ProxDetector(playerid, Float:radius, string[], col1, col2, col3, col4, col5) { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); new Float:ix, Float:iy, Float:iz; new Float:cx, Float:cy, Float:cz; foreach(Player, i) { if(IsPlayerLoggedIn(i)) { if(GetPlayerInterior(playerid) == GetPlayerInterior(i) && GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i)) { GetPlayerPos(i, ix, iy, iz); cx = (x - ix); cy = (y - iy); cz = (z - iz); if(((cx < radius/16) && (cx > -radius/16)) && ((cy < radius/16) && (cy > -radius/16)) && ((cz < radius/16) && (cz > -radius/16))) { SendClientMessage(i, col1, string); } else if(((cx < radius/8) && (cx > -radius/8)) && ((cy < radius/8) && (cy > -radius/8)) && ((cz < radius/8) && (cz > -radius/8))) { SendClientMessage(i, col2, string); } else if(((cx < radius/4) && (cx > -radius/4)) && ((cy < radius/4) && (cy > -radius/4)) && ((cz < radius/4) && (cz > -radius/4))) { SendClientMessage(i, col3, string); } else if(((cx < radius/2) && (cx > -radius/2)) && ((cy < radius/2) && (cy > -radius/2)) && ((cz < radius/2) && (cz > -radius/2))) { SendClientMessage(i, col4, string); } else if(((cx < radius) && (cx > -radius)) && ((cy < radius) && (cy > -radius)) && ((cz < radius) && (cz > -radius))) { SendClientMessage(i, col5, string); } } } } return 1; }