SA-MP Forums Archive
SetVehicleNumberPlate Help - 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: SetVehicleNumberPlate Help (/showthread.php?tid=599372)



SetVehicleNumberPlate Help - Tween73 - 25.01.2016

SetVehicleNumberPlate Help


Re: SetVehicleNumberPlate Help - d1git - 25.01.2016

What... do you need help with?


Re: SetVehicleNumberPlate Help - Amunra - 25.01.2016

Wiki Samp SetVehicleNumberPlate ,
Just work On 0.3c Version .. Plain again


Re: SetVehicleNumberPlate Help - Tween73 - 25.01.2016

0.3.7?


Re: SetVehicleNumberPlate Help - TwinkiDaBoss - 25.01.2016

I think he wants to know what he needs to do with it or something.
It works like this, you can vehicle plates and they appear on the car like that
PHP код:
CMD:setplates(playerid,params[]) {
    if(!
IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_RED,"You are not inside any vehicles");
    new 
NewPlates[32];
    if(
sscanf(params,s[32],NewPlates)) return SendClientMessage(playerid,COLOR_RED,"Usage: /setplates [new plates]");
    if(
strlen(params) >= 33) return SendClientMessage(playerid,COLOR_RED,"Maximum 32 characters");
    new 
vid GetPlayerVehicleID(playerid);
    
SetVehicleNumberPlate(vid,NewPlates);
    return 
true;