06.11.2010, 12:40
pawn Код:
CMD:nos(playerid, params[])
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
new vehicle = GetPlayerVehicleID(playerid);
AddVehicleComponent(vehicle, 1010);
}
else
{
SendClientMessage(playerid, 0xFFFFFFFF, "You must be in a vehicle to use this command.");
}
return 1;
}