10.06.2011, 15:00
pawn Код:
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));
SendClientMessage(playerid, 0x6AF7E1FF,"Hope you like the new colour xD");
return 1;
}
return 0;
}
pawn Код:
warning 225: unreachable code