20.01.2011, 02:30
pawn Код:
if (strcmp("/cc", cmdtext, true, 10) == 0)
{
if(IsPlayerInAnyVehicle(playerid))
{
ChangeVehicleColor(//what ever needs to go here);
SendClientMessage(playerid,COLOR_NAVY,"VEHICLE: Your vehicles car color has now been changed.");
}
else SendClientMessage(playerid,COLOR_NAVY,"VEHICLE: You must be in a vehicle to change your car color.");
return 1;
}
Thanks in advanced,
I'm new to scripting.