26.09.2012, 09:52
pawn Код:
CMD:givegr(playerid, params[])
{
if (PlayerInfo[playerid][pAdmin] >= 4)
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,0xFFFFFFFF, "You are not driving a vehicle.");
AddVehicleComponent(GetPlayerVehicleID(playerid),1080);
SendClientMessage(playerid, 0xFFFFFFFF, "You have added Gold Rims to your vehicle.");
}
else
{
SendClientMessage(playerid,0xFFFFFFFF, "You are not Administrator.");
}
return 1;
}
CMD:givecr(playerid, params[])
{
if (PlayerInfo[playerid][pAdmin] >= 4)
{
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,0xFFFFFFFF, "You are not driving a vehicle.");
AddVehicleComponent(GetPlayerVehicleID(playerid),1079);
SendClientMessage(playerid, 0xFFFFFFFF, "You have added Cutter Rims to your vehicle.");
}
else
{
SendClientMessage(playerid,0xFFFFFFFF, "You are not Administrator.");
}
return 1;
}