Vehicle Plate
#1

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;
}
But the plate doesn't change
Reply
#2

Read the contents of the big yellow box!

https://sampwiki.blast.hk/wiki/SetVehicleNumberPlate
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)