[Ajuda] bug no gm
#4

PHP код:
public OnPlayerDeath(playeridkilleridreason)
{
    
SendDeathMessage(killerid,playerid,reason);
    
hospital[playerid]= 1;
    
Kitvip[playerid]= 1;
       
PlayerInfo[playerid][Morreu]++;
    
PlayerInfo[playerid][EXP]--;
    
PlayerInfo[killerid][EXP]++;

    if(
IsPlayerConnected(killerid)){
      
PlayerInfo[killerid][Matou]++;
    }
    if(
PlayerInfo[playerid][pProcurados] >= 1){
        if(
PlayerInfo[killerid][pBOPE] >= || PlayerInfo[killerid][pROTA] >= 1){

            
SetPlayerWantedLevel(playerid0);
            
PlayerInfo[playerid][pProcurados] = 0;
            
format(Stringsizeof(String), "<< O procurado da justiзa %s foi preso pelo Polнcial %s >>"Nome(playerid), Nome(killerid));
            
SendClientMessageToAll(COLOR_KICK,String);
            
PlayerInfo[playerid][Preso1] = 2;
            
SpawnPlayer(playerid); //adicionado nao sei se vai resolver mais tenta ae
        
}
    }
    return 
1;

Reply


Messages In This Thread
bug no gm - by RafaScripter - 16.10.2012, 20:43
Re: bug no gm - by ricardo178 - 16.10.2012, 20:46
Re: bug no gm - by RafaScripter - 16.10.2012, 20:50
Re: bug no gm - by Q.I - 16.10.2012, 21:00
Re: bug no gm - by RafaScripter - 16.10.2012, 21:04
Re: bug no gm - by Q.I - 16.10.2012, 21:10
Re: bug no gm - by RafaScripter - 16.10.2012, 21:10
Re: bug no gm - by leandro123456 - 16.10.2012, 21:16
Re: bug no gm - by RafaScripter - 16.10.2012, 21:19
Re: bug no gm - by leandro123456 - 16.10.2012, 21:20

Forum Jump:


Users browsing this thread: 2 Guest(s)