[Ajuda] Setar o player para [pProcurado]
#4

Quote:
Originally Posted by P1c4550
Посмотреть сообщение
pProcurados? q porra e essa explique melhor oque vc quer '-'
й o seguinte , nгo tem aquele comando /su , que vocк dб uma estrelinha a ele e quando ele morre pelo policial ele vai preso?, tipo

PHP код:
if(PlayerInfo[playerid][pProcurado] >= 1)
    {
        if(
PlayerInfo[killerid][pBOPE] >= || PlayerInfo[killerid][pPMS] >= 1)
        {
            if(
EmTrabalho[killerid] == 1)
            {
                if(
PlayerInfo[playerid][pPresoLS] >= 1)
                {
                return 
1;
                   }
                new 
string[200];
                
GameTextForPlayer(playerid"~r~Preso!"25003);
                
GameTextForPlayer(killerid"~r~Suspeito abatido!"25003);
                
GivePlayerMoney(killerid100);
                
PlayerInfo[playerid][pPresoLS] = 1;
                
SetPlayerWantedLevel(playerid0);
                new 
pName1[24];
                new 
pName2[24];
                
GetPlayerName(playeridpName124);
                
GetPlayerName(killeridpName224);
                
format(stringsizeof(string), "<< O procurado da justiзa %s foi preso pelo Polнcial %s >>"pName1pName2);
                
SendClientMessageToAll(COLOR_KICK,string);
                    if(
PlayerInfo[playerid][pProcurado] == 1)
                {
                
PlayerInfo[playerid][pTempoPreso] = 180;
                
SpawnPlayer(playerid);
                }
                if(
PlayerInfo[playerid][pProcurado] == 2)
                {
                
PlayerInfo[playerid][pTempoPreso] = 240;
                
SpawnPlayer(playerid);
                }
                if(
PlayerInfo[playerid][pProcurado] == 3)
                {
                
PlayerInfo[playerid][pTempoPreso] = 300;
                
SpawnPlayer(playerid);
                }
                if(
PlayerInfo[playerid][pProcurado] == 4)
                {
                
PlayerInfo[playerid][pTempoPreso] = 400;
                
SpawnPlayer(playerid);
                }
                if(
PlayerInfo[playerid][pProcurado] == 5)
                {
                
PlayerInfo[playerid][pTempoPreso] = 500;
                
SpawnPlayer(playerid);
                }
                if(
PlayerInfo[playerid][pProcurado] >= 6)
                {
                
PlayerInfo[playerid][pTempoPreso] = 900;
                
SpawnPlayer(playerid);
                }
                
PlayerInfo[playerid][pProcurado] = 0;
            }
        }
        if(
PlayerInfo[killerid][pBOPE] >= || PlayerInfo[killerid][pPMS] >= 1)
        {
            if(
EmTrabalho[killerid] == 1)
            {
                if(
PlayerInfo[playerid][pPresoSF] >= 1)
                {
                return 
1;
                   }
                new 
string[200];
                
GameTextForPlayer(playerid"~r~Preso!"25003);
                
GameTextForPlayer(killerid"~r~Suspeito abatido!"25003);
                
GivePlayerMoney(killerid100);
                
PlayerInfo[playerid][pPresoSF] = 1;
                
SetPlayerWantedLevel(playerid0);
                new 
pName1[24];
                new 
pName2[24];
                
GetPlayerName(playeridpName124);
                
GetPlayerName(killeridpName224);
                
format(stringsizeof(string), "<< O procurado da justiзa %s foi preso pelo Polнcial %s >>"pName1pName2);
                
SendClientMessageToAll(COLOR_KICK,string);
                    if(
PlayerInfo[playerid][pProcurado] == 1)
                {
                
PlayerInfo[playerid][pTempoPreso] = 180;
                
SpawnPlayer(playerid);
                }
                if(
PlayerInfo[playerid][pProcurado] == 2)
                {
                
PlayerInfo[playerid][pTempoPreso] = 240;
                
SpawnPlayer(playerid);
                }
                if(
PlayerInfo[playerid][pProcurado] == 3)
                {
                
PlayerInfo[playerid][pTempoPreso] = 300;
                
SpawnPlayer(playerid);
                }
                if(
PlayerInfo[playerid][pProcurado] == 4)
                {
                
PlayerInfo[playerid][pTempoPreso] = 400;
                
SpawnPlayer(playerid);
                }
                if(
PlayerInfo[playerid][pProcurado] == 5)
                {
                
PlayerInfo[playerid][pTempoPreso] = 500;
                
SpawnPlayer(playerid);
                }
                if(
PlayerInfo[playerid][pProcurado] >= 6)
                {
                
PlayerInfo[playerid][pTempoPreso] = 900;
                
SpawnPlayer(playerid);
                }
                
PlayerInfo[playerid][pProcurado] = 0;
                }
            }
        } 
й o seguindo, eu quero dar nivel para o player e setar ele no [pProcurado] tipo o meu gm tб assim, quando o [pProcurado] morre ele vai preso, se ligou ?
Reply


Messages In This Thread
Setar o player para [pProcurado] - by ofviac - 06.12.2013, 16:22
Re: Setar o player para [pProcurado] - by P1c4550 - 06.12.2013, 16:28
Re: Setar o player para [pProcurado] - by Menor - 06.12.2013, 16:29
Re: Setar o player para [pProcurado] - by ofviac - 06.12.2013, 16:44
Respuesta: Setar o player para [pProcurado] - by ViniKuliveguisky - 06.12.2013, 16:52
Re: Respuesta: Setar o player para [pProcurado] - by ofviac - 06.12.2013, 17:02

Forum Jump:


Users browsing this thread: 2 Guest(s)