[AJUDA] Spawn
#2

Code:
public OnPlayerSpawn(playerid) 
{ 
    if(1 <= Profissao[playerid] <= 2) 
    { 
        SetPlayerPos(playerid, 1579.4999,-1635.4039,13.5612); 
        SendClientMessage(playerid, 0x0080C0AA, "[PMESP]{FFFFFF} Voce E Um Policial E Voltou Ao DP!"); 
    }
    if(3 <= Profissao[playerid] <= 4) 
    { 
        SetPlayerPos(playerid, 1009.0651,-1433.2708,13.5469); 
        SendClientMessage(playerid, 0x0080C0AA, "[CV]{FFFFFF} Voce E Do ComandoVermelho E Foi Pra Sua HQ!"); 
    } 
    return 1; 
}
Voce havia errado nas chaves({,}) o segundo if estava dentro do primeiro
Reply


Messages In This Thread
[AJUDA] Spawn - by hurubuh - 10.03.2019, 16:25
Re: [AJUDA] Spawn - by GranadaGamer - 10.03.2019, 16:34
Re: [AJUDA] Spawn - by hurubuh - 10.03.2019, 16:47

Forum Jump:


Users browsing this thread: 1 Guest(s)