SA-MP Forums Archive
Vehicle Plate - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Vehicle Plate (/showthread.php?tid=458573)



Vehicle Plate - nor15 - 17.08.2013

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


Re: Vehicle Plate - Scenario - 17.08.2013

Read the contents of the big yellow box!

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