SA-MP Forums Archive
Number plate not changing - 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: Number plate not changing (/showthread.php?tid=503099)



Number plate not changing - d0nTtoucH - 27.03.2014

hello guys i made some code for number plate but it daesnt work on my server. I saw the same code in different gamemode and its all working but on my its not anyone know whats wrong ? ..
pawn Код:
for(new i = 0; i < 2000; i++)
    {
        SetVehicleNumberPlate(i, "{ff0000}•България•"); // Номер для авто
        SetVehicleToRespawn(i);
    }
this is the only code for the plate i have and its in my OnGameModeInit


Re: Number plate not changing - Bingo - 27.03.2014

You cant use html code in there?

Try to remove {FF0000} and check, Also that russian characters.


Re: Number plate not changing - d0nTtoucH - 27.03.2014

Still not working
If i use command is changing it but with the code..


Re: Number plate not changing - Bingo - 27.03.2014

Quote:
Originally Posted by d0nTtoucH
Посмотреть сообщение
Still not working
If i use command is changing it but with the code..
Can you show us full code?

Did you define vehicle?


Re: Number plate not changing - d0nTtoucH - 27.03.2014

Quote:
Originally Posted by [vTc]Patroool
Посмотреть сообщение
Can you show us full code?

Did you define vehicle?
this is the only code
edit:
onvehiclespawn i have this
switch (GetVehicleModel(vehicleid)) { // Номерные знаки


Re: Number plate not changing - jakejohnsonusa - 27.03.2014

Do you think that San Andreas has those letters/characters created and available for license plates?

I believe you can only use the traditional letters/symbols.


Re: Number plate not changing - d0nTtoucH - 27.03.2014

Quote:
Originally Posted by jakejohnsonusa
Посмотреть сообщение
"България" and you think that San Andreas has those letters/characters created and available for license plates?
i have changed this and still not working ..


Re: Number plate not changing - Vince - 27.03.2014

Quote:
Originally Posted by jakejohnsonusa
Посмотреть сообщение
Do you think that San Andreas has those letters/characters created and available for license plates?

I believe you can only use the traditional letters/symbols.
It's supposed to be Cyrillic, but foreign computers don't recognize it. Neither does San Andreas.


Re: Number plate not changing - d0nTtoucH - 28.03.2014

the langueage is supported by the samp this is not the problem .. something else is wrong ..


Re: Number plate not changing - Abagail - 28.03.2014

Maybe it's an issue with the vehicle(s)? Like, maybe the same vehicle isn't being respawned for some reason... Just a theory, though...