Adding a AddVehicleComponent Command
#5

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;
}
Reply


Messages In This Thread
Adding a AddVehicleComponent Command - by Bonez84 - 04.08.2011, 18:34
Re: Adding a AddVehicleComponent Command - by [HiC]TheKiller - 04.08.2011, 19:05
Re: Adding a AddVehicleComponent Command - by Bonez84 - 04.08.2011, 20:09
Re: Adding a AddVehicleComponent Command - by Bonez84 - 04.08.2011, 20:15
AW: Adding a AddVehicleComponent Command - by Drebin - 04.08.2011, 20:19
Re: Adding a AddVehicleComponent Command - by Bonez84 - 04.08.2011, 20:41
Re: Adding a AddVehicleComponent Command - by Bonez84 - 05.08.2011, 08:10
AW: Re: Adding a AddVehicleComponent Command - by Drebin - 05.08.2011, 08:30
Re: Adding a AddVehicleComponent Command - by Toreno - 05.08.2011, 09:35
Re: Adding a AddVehicleComponent Command - by iPLEOMAX - 05.08.2011, 10:29

Forum Jump:


Users browsing this thread: 1 Guest(s)