07.07.2010, 17:12
pawn Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
if(!strcmp(cmdtext,"/nos",true))
{
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xff0000ff,"You must be in a vehicle!");
AddVehicleComponent(GetPlayerVehicleID(playerid),1010);
SendClientMessage(playerid,0x00ff00ff,"Nitro added!"); //No idea what colour that is though.
return 1;
}
return 0;
}