04.05.2013, 13:13
Whats the problem here ? ? ? When I remove it no errors and this is not the same lines just something wrong here... :
Errors :
Код:
CMD:buysim(playerid, params[]) { if(!IsPlayerInRangeOfPoint(playerid, 6, 920.421142, -1361.637084, 13.003659)) { SendClientMessageEx(playerid,COLOR_GREY," You are not at the Telecom Company Arena!"); else if(GetPVarType(playerid, "Sim")) { SendClientMessageEx(playerid, COLOR_GREY, " You are already have Sim!"); return 1; } if (GetPlayerCash(playerid) >= 500) { PlayerInfo[playerid][pSim] = 1; format(string, sizeof(string), "Sim purchased, you can now look up other player's numbers."); SendClientMessageEx(playerid, COLOR_GRAD4, string); SendClientMessageEx(playerid, COLOR_WHITE, "HINT: Type /call /sms /text /t."); if(PlayerInfo[playerid][pDonateRank] >= 1) { GivePlayerCash(playerid, -400); SendClientMessageEx(playerid, COLOR_YELLOW, "VIP: You have received 20 percent off this product. Instead of paying $500, you paid $400."); } else { GivePlayerCash(playerid, -500); } } else { SendClientMessageEx(playerid, COLOR_GRAD4, "You don't have the cash for the Sim!"); } }
Errors :
Код:
d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3769) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3776) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3783) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3792) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3806) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3813) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3817) : error 017: undefined symbol "GivePlayerCash" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3820) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3827) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3834) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3849) : error 017: undefined symbol "GivePlayerCash" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3852) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3859) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3866) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3880) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3889) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3901) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3909) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3934) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3948) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3956) : error 017: undefined symbol "GivePlayerCash" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(3961) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(4138) : error 017: undefined symbol "GivePlayerCash" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(4200) : warning 219: local variable "targetid" shadows a variable at a preceding level d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(4315) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(4335) : error 017: undefined symbol "ProxDetector" d:\Users\User\Desktop\Scriptv1 perfect\SSS\Script[ONLY TO YOU]\AMRP\gamemodes\NQRP.pwn(4349) : error 017: undefined symbol "GivePlayerCash" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.