plz help
#1

Please tell whats wrong now? I did everything by wiki, but the car plate didn't change.

Код:
if(strcmp(cmdtext, "/numeris", true)==0)
    {
    new vehicleid = GetPlayerVehicleID(playerid);
 	SetVehicleNumberPlate(vehicleid,"Rokis");
	SetVehicleToRespawn(vehicleid);
	return 1;}
Reply
#2

You sure you were in a car when doing it?
Reply
#3

yes car respawned, but the car plate doesn't changes.
Reply
#4

If you're using 0.3, note that this no longer works in 0.3.
Reply
#5

no, i'm using server on 0.2x
Reply
#6

Hi Rokis.

They said that not all vehicles can change their plate number. See this post:

Quote:
Originally Posted by CrαcK
SetVehicleNumberPlate works completely(!) only on these vehicle models.

pawn Код:
new validmodels[] = {402,407,409,410,412,415,420,424,426,427,434,436,437,438,451,466,467,470,475,477,480,483,492,506,507,515,516,524,529,535,536,545,547,551,552,556,557,558,559,560,565,566,567,574,575,578,580,596,597,598,604};
On any other vehicle plate is set only on front bumper\on rear bumper\not set at all.
So check vehicle models.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)