Help with SetVehicleNumberPlate - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help with SetVehicleNumberPlate (
/showthread.php?tid=133574)
Help with SetVehicleNumberPlate - [BEP]AcerPilot - 13.03.2010
I need to change the plate of my car, but do not understand how using SetVehicleNumberPlate. Already looked on the wiki and did not understand. Could you explain and how?
OBS: Using ****** Translate xD
Re: Help with SetVehicleNumberPlate -
Miguel - 13.03.2010
Quote:
Originally Posted by Wiki
This function does not work in the current SA:MP version.
|
Re: Help with SetVehicleNumberPlate - [BEP]AcerPilot - 13.03.2010
Current is 0.3, mine is 0.2
Re: Help with SetVehicleNumberPlate -
¤Adas¤ - 13.03.2010
After setting it, you have to respawn the vehicle.
Re: Help with SetVehicleNumberPlate - [BEP]AcerPilot - 13.03.2010
But I don't know how to set, I simply don't have any idea of how to use this function. Can give me an example?
Re: Help with SetVehicleNumberPlate -
Mike Garber - 13.03.2010
https://sampwiki.blast.hk/wiki/SetVehicleNumberPlate
There's your example. This is
exactly how you do It.
Re: Help with SetVehicleNumberPlate - [BEP]AcerPilot - 13.03.2010
But for example: I have 34 cars in my script. As the function will know which set the car plate? And in public that I should put the function? I'm
really confused.
Re: Help with SetVehicleNumberPlate - [BEP]AcerPilot - 13.03.2010
public OnUserSeeThisTopic
{
SendClientMessage(userid, COLOR_RED, "
BUMP");
return 1;
}
Re: Help with SetVehicleNumberPlate -
Correlli - 13.03.2010
Quote:
Originally Posted by [BEP
GeoPilot ]
public OnUserSeeThisTopic
{
SendClientMessage(userid, COLOR_RED, "BUMP");
return 1;
}
|
pawn Код:
public OnUserBumpThisTopic(userid)
{
SendUserMessage(userid, COLOR_RED, "[url]http://forum.sa-mp.com/index.php?topic=67900.0"[/url]);
return true;
}
Re: Help with SetVehicleNumberPlate -
Born2die - 13.03.2010
Stop screwing guys:
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate) {
SetVehicleNumberPlate(GetPlayerVehicleID(playerid), "TEXT");
return true;
}