[FilterScript] Paint for cars
#5

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/paint", true) == 0)
    {
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "You must be in a vehicle!");
        ChangeVehicleColor(GetPlayerVehicleID(playerid), random(255), random(255));
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Paint for cars - by ColdIce - 17.05.2011, 22:09
Re: Paint for cars - by Naruto_Emilio - 17.05.2011, 22:39
Re: Paint for cars - by ColdIce - 17.05.2011, 22:42
Re: Paint for cars - by douglasmonteiro - 18.05.2011, 03:46
Re: Paint for cars - by ColdIce - 18.05.2011, 08:41

Forum Jump:


Users browsing this thread: 2 Guest(s)