01.01.2013, 12:42
pawn Код:
if(PlayerInfo[playerid][pTorcida] == 0)
{
SetPlayerPos(playerid,1782.6263,-1347.4968,15.7421); //Policial
SendClientMessage(playerid, 0xC798FAAA, "** Bem Vindo Policial **");
GivePlayerMoney(playerid,1000000);//Dar 1000k quando entrar
SetPlayerColor(playerid, 0x2641FEAA);
SetPlayerFacingAngle(playerid,168.2801);//Angulo
SetPlayerSkin(playerid,0);
GivePlayerWeapon(playerid,31,99999);
return 1;
}
if(PlayerInfo[playerid][pTorcida] == 1) //<<<- warning nessa linha
{
SetPlayerPos(playerid,-54.1648,2042.9808,23.6773); //Traficante
SendClientMessage(playerid, 0xC798FAAA, "** Bem Vindo Traficante **");
GivePlayerMoney(playerid,1000000);//Dar 1000k quando entrar
SetPlayerColor(playerid, 0xEE7943);
SetPlayerFacingAngle(playerid,168.2801);//Angulo
SetPlayerSkin(playerid,29);
GivePlayerWeapon(playerid,31,99999);
return 1;
}
else
{
return 0;
}