17.08.2013, 15:49
pawn Код:
dcmd_vplate(playerid,params[])
{
if(strlen(params) > 49 || strlen(params) < 3) return SendClientMessage(playerid,COLOR_ERROR,"**/vplate [Plate From 3-50]");
if(!IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid, COLOR_ERROR, "You must in vehicle to use this command.");
return 1;
}
SetVehicleNumberPlate(GetPlayerVehicleID(playerid), params);
SendClientMessage(playerid, COLOR_DODGERBLUE, "Vehicle Plate has been changed!");
return 1;
}