[AJUDA]Quando uso /trazerbopes o server fecha.
#2

PHP код:
if(strcmp(cmd"/trazercvs"true) == 0)
{
    new 
Float:PlayerPos[3], string[128], nome[24];
    
GetPlayerPos(playerid,PlayerPos[0],PlayerPos[1],PlayerPos[2]);
    for(new 
0MAX_PLAYERS++)
    {
        if(
PlayerInfo[x][pCV] >= 5)
        {
            
GetPlayerName(playeridnome24);
            
SetPlayerPos(x,PlayerPos[0],PlayerPos[1],PlayerPos[2]);
            
format(stringsizeof(string), "Adm.Cmd: %s trouxe todos os CVS."nome);
            
SendClientMessageToAll(COLOR_ADMstring);
            return 
1;
        }
    }
    return 
1;
}
if(
strcmp(cmd"/trazerbopes"true) == 0)
{
    new 
Float:PlayerPos[3], string[128], nome[24];
    
GetPlayerPos(playerid,PlayerPos[0],PlayerPos[1],PlayerPos[2]);
    for(new 
0MAX_PLAYERS++)
    {
        if(
PlayerInfo[x][pBOPE] >= 5)
        {
            
GetPlayerName(playeridnome24);
            
SetPlayerPos(x,PlayerPos[0],PlayerPos[1],PlayerPos[2]);
            
format(stringsizeof(string), "Adm.Cmd: %s trouxe todos os BOPE.",nome);
            
SendClientMessageToAll(COLOR_ADMstring);
        }
    }
    return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)