[Ajuda] Gotooff
#1

algum sistema de gotooff ja procurei e n achei ?
PHP код:
if(strcmp(cmd"/goto"true) == 0)
    {
        if(
AFK[playerid] == true) return SendClientMessage(playeridCINZA"{3cff00}| ERRO | {FFFFFF}Vocк nгo pode usar Comandos porque estб Ausente.");
        new 
PlayerBstring[300];
        
tmp strtok(cmdtextidx);
        if(!
strlen(tmp)) return SendClientMessage(playeridVERMELHO"{00FF00}| INFO |{FFFFFF} /goto [id]");
        
PlayerB strval(tmp);
        if(
AFK[PlayerB] == true) return SendClientMessage(playeridVERMELHO"{3cff00}| INFO | {FFFFFF}Este jogador estб ausente.");
        if(!
IsPlayerConnected(PlayerB)) return SendClientMessage(playeridVERMELHO"{3cff00}| ERRO |{FFFFFF}Este jogador nгo estб online.");
        
GetPlayerPos(PlayerBXYZ);
        
SetPlayerPos(playeridXY+1Z);
        if(
GetPlayerState(playerid) == 2)
        {
            new 
carrro GetPlayerVehicleID(playerid);
            
SetVehiclePos(carrroXY+1Z);
            
PutPlayerInVehicle(playeridcarrro0);
        }
        
format(stringsizeof(string), "{3cff00}| INFO | {FFFFFF}Vocк foi atй o jogador \"{f00c0c}%s.\""Nome(PlayerB));
        
SendClientMessage(playeridVERDEstring);
        
format(stringsizeof(string), "{3cff00}| INFO | {FFFFFF}O jogador \"{f00c0c}%s\" {FFFFFF}Veio atй vocк."Nome(playerid));
        
SendClientMessage(PlayerBVERDEstring);
        return 
1;
    } 
Reply


Messages In This Thread
Gotooff - by VF46 - 22.01.2018, 05:34
Re: Gotooff - by Bieell - 22.01.2018, 07:34
Re: Gotooff - by SpikeCompiler - 22.01.2018, 12:22
Re: Gotooff - by VF46 - 22.01.2018, 17:34

Forum Jump:


Users browsing this thread: 1 Guest(s)