26 Errors
#1

PHP код:
CMD:import(playeridparams[])
{
        if(
PlayerInfo[playerid][pFMember] == 255) return SendClientMessageEx(playerid,COLOR_ACTIONBLUE,"> You're not a member of a Offical Family."); {
        if(
IsPlayerInRangeOfPoint(playerid4.02556.1704,-1295.8506,1044.1250) return SendClientMessageEx(playeridCOLOR_ACTIONBLUE"> You're not at the Weapon Factory located in Las Venturas."); {
        if(
PlayerInfo[playerid][pWRestricted] > 0) return SendClientMessageEx(playeridCOLOR_ACTIONBLUE"> You cannot use this as you are currently restricted from possessing weapons!");
        {
            new 
choice[32], opstring[100];
            if(
sscanf(params"s[32]S[100]"choiceopstring))
            {
                
SendClientMessageEx(playeridCOLOR_LIGHTRED"[Weapon Factory]: {FFFFFF}What weapon do you wish to import?");
                
SendClientMessageEx(playeridCOLOR_GREY"[Stock]: {FFFFFF}SDPistol ($400), Shotgun ($600), MP5 ($800) ");
                
SendClientMessageEx(playeridCOLOR_GREY"[Stock]: {FFFFFF}UZI ($600) AK47 ($1,500)");
                return 
1;
            }
            else if(
strcmp(choice,"SDPistol",true) == 0)
            {
                if(
GetPlayerCash(playerid) >= 400)
                {
                    
GivePlayerValidWeapon(playerid2399999);
                    
GivePlayerCash(playerid, -400);
                    
SendClientMessageEx(playeridCOLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}You've imported a SDPistol for $400");
                    
//SendClientMessageEx(playerid, COLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}Your SDPistol has succesfully been imported.");
                    //SendClientMessageEx(playerid, COLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}You may now pick it up at the Supply depot!");
                    
return 1;
                }
                else
                {
                    
SendClientMessageEx(playeridCOLOR_GREY,"You can't afford importing a SDPistol.");
                    return 
1;
                }
            }
            else if(
strcmp(choice,"Shotgun",true) == 0)
            {
                if(
GetPlayerCash(playerid) >= 6)
                {
                    
GivePlayerValidWeapon(playerid2599999);
                    
GivePlayerCash(playerid, -600);
                    
SendClientMessageEx(playeridCOLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}You've imported a Shotgun for $600");
                    
//SendClientMessageEx(playerid, COLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}Your Shotgun has succesfully been imported.");
                    //SendClientMessageEx(playerid, COLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}You may now pick it up at the Supply depot!");
                    
return 1;
                }
                else
                {
                    
SendClientMessageEx(playeridCOLOR_GREY,"You can't afford importing a Shotgun.");
                    return 
1;
                }
            }
            else if(
strcmp(choice,"MP5",true) == 0)
            {
                if(
GetPlayerCash(playerid) >= 800)
                {
                    
GivePlayerValidWeapon(playerid2999999);
                    
GivePlayerCash(playerid, -800);
                    
SendClientMessageEx(playeridCOLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}You've imported a MP5 for $800");
                    
//SendClientMessageEx(playerid, COLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}Your MP5 has succesfully been imported.");
                    //SendClientMessageEx(playerid, COLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}You may now pick it up at the Supply depot!");
                    
return 1;
                }
                else
                {
                    
SendClientMessageEx(playeridCOLOR_GREY,"You can't afford importing a MP5.");
                    return 
1;
                }
            }
            else if(
strcmp(choice,"UZI",true) == 0)
            {
                if(
GetPlayerCash(playerid) >= 600)
                {
                    
GivePlayerValidWeapon(playerid2899999);
                    
GivePlayerCash(playerid, -600);
                    
SendClientMessageEx(playeridCOLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}You've imported a UZI for $600");
                    
//SendClientMessageEx(playerid, COLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}Your UZI has succesfully been imported.");
                    //SendClientMessageEx(playerid, COLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}You may now pick it up at the Supply depot!");
                    
return 1;
                }
                else
                {
                    
SendClientMessageEx(playeridCOLOR_GREY,"You can't afford importing a UZI.");
                    return 
1;
                }
            }
            else if(
strcmp(choice,"AK47",true) == 0)
            {
                if(
GetPlayerCash(playerid) > 1500)
                {
                    
GivePlayerValidWeapon(playerid3099999);
                    
GivePlayerCash(playerid, -1500);
                    
SendClientMessageEx(playeridCOLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}You've imported a AK47 for $1500");
                    
//SendClientMessageEx(playerid, COLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}Your AK47 has succesfully been imported.");
                    //SendClientMessageEx(playerid, COLOR_LIGHTRED,"[Weapon Factory]: {FFFFFF}You may now pick it up at the Supply depot!");
                    
return 1;
                }
                else
                {
                    
SendClientMessageEx(playeridCOLOR_GREY,"You can't afford importing a AK47.");
                    return 
1;
                }
                return 
1;
            }
        }
    }

Errors:


Код:
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(2943) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(2950) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(2957) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(2966) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(2980) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(2987) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(2991) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(2994) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3001) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3009) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3012) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3019) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3026) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3040) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3049) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3061) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3080) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3094) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3108) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3116) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3121) : error 017: undefined symbol "ProxDetector"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3280) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3552) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(3553) : error 017: undefined symbol "GivePlayerCash"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(4854) : error 017: undefined symbol "NOPCheck"
C:\Users\Bart\Downloads\samp03dsvr_win32\gamemodes\lsrp.pwn(5431) : error 017: undefined symbol "NOPCheck"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply


Messages In This Thread
26 Errors - by Sasoft - 06.12.2011, 11:25
Re: 26 Errors - by T0pAz - 06.12.2011, 11:35
Re: 26 Errors - by Sasoft - 06.12.2011, 11:57
Re: 26 Errors - by THE_KNOWN - 06.12.2011, 12:02
Re: 26 Errors - by Элиот - 06.12.2011, 12:12
Re: 26 Errors - by Sasoft - 06.12.2011, 13:07
Re: 26 Errors - by THE_KNOWN - 06.12.2011, 14:01

Forum Jump:


Users browsing this thread: 2 Guest(s)