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;
}
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;
}
|
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;
}
|