[Ajuda] checkpoint
#1

Olб , galera estou com um problema nesse code. quando eu entro no caminhгo , e digito
Код:
/plixo
fala que "Vocк jб estб fazendo a Missгo de caminhгo de lixeiro" ajuda ae.


PHP код:
 if (strcmp("/plixo"cmdtexttrue10) == 0) {
    if(
GetVehicleModel(GetPlayerVehicleID(playerid)) == 455) {
    if(
PlayerInfoplayerid ][pProfissao] == Assaltante){
    
SendClientMessage(playerid,VerdeClaro,"Vocк jб estб fazendo a Missгo de lixeiro");
    return 
1;
    }
    new 
rand random(sizeof(checkpointsosmar));
    
SetPlayerCheckpoint(playerid,checkpointsosmar[rand][0],checkpointsosmar[rand][1],checkpointsosmar[rand][2],checkpointsosmar[rand][3]);
    
GameTextForPlayer(playerid"~g~Vocк comeзou o trabalho, boa sorte!"30003);
    new 
string1[48];
    new 
name[MAX_PLAYER_NAME];
    
GetPlayerName(playeridnamesizeof(name));
    
format(string1sizeof(string1), "%s agora estб fazendo a missгo Truck."name );
    
SendClientMessageToAll(VerdeClarostring1);
    return 
1;
    }
    
SendClientMessage(playeridVerdeClaro,"Vocк tem que ser em um caminhгo para iniciar o trabalho");
    return 
1;
    } 
Reply
#2

pawn Код:
if(PlayerInfo[playerid][pProfissao] == Assaltante){
    SendClientMessage(playerid,VerdeClaro,"Vocк jб estб fazendo a Missгo de lixeiro");
    return 1;
}
Que isso cara? Se a profissгo dele for Assaltante quer dizer que ele jб esta fazendo a missгo?...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)