19.06.2011, 22:34
Tente :
pawn Код:
if(strcmp("/policiamilitar", cmdtext, true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pVIP] >= 2)
{
PlayerInfo[playerid][pMembro] = 1;
PlayerInfo[playerid][pCargo] = 4;
SetPlayerSkin(playerid,282);
PlayerInfo[playerid][pSkin] = 282;
SetPlayerSpawn(playerid);
}
}
return 1;
}