04.08.2011, 20:19
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp("/lowrider", cmdtext, true))
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 1087);
AddVehicleComponent(GetPlayerVehicleID(playerid), 1076);
return SendClientMessage(playerid, -1, "Low rider car modified!");
}
if(!strcmp("/runner", cmdtext, true))
{
AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
AddVehicleComponent(GetPlayerVehicleID(playerid), 1097);
return SendClientMessage(playerid, -1, "Runner car modified!");
}
return 0;
}