[Ajuda] Equipar
#5

PHP код:
 if(PlayerInfo[playerid][pMember] == && PlayerToPoint(8.0,playerid,308.1387,1120.6375,1083.8828))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
Safe(playerid2435);
            
SafeGivePlayerWeapon(playerid11);
            
SafeGivePlayerWeapon(playerid51);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == && PlayerToPoint(8.0,playerid,2491.8005,-1701.2091,1018.3438))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid2435);
            
SafeGivePlayerWeapon(playerid11);
            
SafeGivePlayerWeapon(playerid51);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == 22 && PlayerToPoint(30.0,playerid,425.1764,2531.2666,16.6157))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid30200);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == 12 && PlayerToPoint(8.0,playerid,2343.3301,-1186.4164,1027.9766))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid2435);
            
SafeGivePlayerWeapon(playerid11);
            
SafeGivePlayerWeapon(playerid51);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == 11 && PlayerToPoint(20.0,playerid,2174.5898,-2250.9900,13.3031))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid2435);
            
SafeGivePlayerWeapon(playerid11);
            
SafeGivePlayerWeapon(playerid51);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == 15 && PlayerToPoint(8.0,playerid,2807.3235,-1165.5062,1025.5703))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid2435);
            
SafeGivePlayerWeapon(playerid11);
            
SafeGivePlayerWeapon(playerid51);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == 18 && PlayerToPoint(8.0,playerid,-223.2749,1400.6974,27.7656))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid2435);
            
SafeGivePlayerWeapon(playerid11);
            
SafeGivePlayerWeapon(playerid51);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == 10 && PlayerToPoint(8.0,playerid,1142.1709,-10.6546,1000.6719))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid2435);
            
SafeGivePlayerWeapon(playerid11);
            
SafeGivePlayerWeapon(playerid51);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == 11 && PlayerToPoint(20.0,playerid,2174.5898,-2250.9900,13.3031))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid2435);
            
SafeGivePlayerWeapon(playerid11);
            
SafeGivePlayerWeapon(playerid51);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == 19 && PlayerToPoint(8.0,playerid,413.9086,2537.3391,10.0077))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid2435);
            
SafeGivePlayerWeapon(playerid11);
            
SafeGivePlayerWeapon(playerid51);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == 20 && PlayerToPoint(8.0,playerid,2552.4690,-1294.6213,1060.9844))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid2435);
            
SafeGivePlayerWeapon(playerid11);
            
SafeGivePlayerWeapon(playerid51);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == 16 && PlayerToPoint(8.0,playerid,1269.2566,-782.9906,1084.0149))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid2435);
            
SafeGivePlayerWeapon(playerid2960);
            
SafeGivePlayerWeapon(playerid81);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == 17 && PlayerToPoint(8.0,playerid,-2166.3108,645.9502,1052.3750))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid2435);
            
SafeGivePlayerWeapon(playerid2960);
            
SafeGivePlayerWeapon(playerid81);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == && PlayerToPoint(8.0,playerid,449.0826,-80.9784,999.5547))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid41);
            
SafeGivePlayerWeapon(playerid24100);
            
SafeGivePlayerWeapon(playerid3460);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if(
PlayerInfo[playerid][pMember] == 13 && PlayerToPoint(8.0,playerid,503.2502,-74.7538,998.7651))
        {
            
GetPlayerName(playerid,sendername,256);
            
ReduceTime[playerid] = 1;
            
format(string256"%s, recebeu as armas",sendername);
            
ProxDetector(50.0,playerid,string,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            
SafeGivePlayerWeapon(playerid2435);
            
SafeGivePlayerWeapon(playerid11);
            
SafeGivePlayerWeapon(playerid51);
            
SetTimerEx("ReduceTimer"10000false"i"playerid);
        }
        else if (
PlayerToPoint(3.0playerid,1781.3569,-2101.8064,14.0566))
          {
            if(
PlayerToPoint(3.0playerid,1781.3569,-2101.8064,14.0566))
            {
                
SetPlayerPos(playerid,2237.5791,-1080.8337,1049.0234);
                
SetPlayerInterior(playerid,2);
                
PlayerInfo[playerid][pInt] = 2;
                
SetPlayerVirtualWorld(playerid1);
            }
            else
            {
                
SetPlayerVirtualWorld(playerid1);
            }
        } 
esse ai nй ?
Reply


Messages In This Thread
[Ajuda] Equipar - by Felipe_capone - 07.10.2011, 13:46
Re: [Duvida] Equipar - by WLSF - 07.10.2011, 13:48
Re: [Duvida] Equipar - by Felipe_capone - 07.10.2011, 13:50
Re: [Duvida] Equipar - by WLSF - 07.10.2011, 13:51
Re: [Duvida] Equipar - by Felipe_capone - 07.10.2011, 13:53
Re: [Duvida] Equipar - by WLSF - 07.10.2011, 13:57
Re: [Duvida] Equipar - by Felipe_capone - 07.10.2011, 13:58
Re: [Duvida] Equipar - by WLSF - 07.10.2011, 13:59

Forum Jump:


Users browsing this thread: 2 Guest(s)