SA-MP Forums Archive
license 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: license plate (/showthread.php?tid=318384)



license plate - viddo - 14.02.2012

How can i make a license plate system that the player can go to a certain place like 'City hall' and changes it there for specific money ?

Another question: How can i create an open hood command and open trunk command for cars ?

Edit : Oh btw i am using a larp godfather edit


Re: license plate - PhilippinesRoleplay - 14.02.2012

as i remember, its OnPlayer something, not sure because im an very very old scripter


Re: license plate - viddo - 14.02.2012

Quote:
Originally Posted by PhilippinesRoleplay
Посмотреть сообщение
as i remember, its OnPlayer something, not sure because im an very very old scripter
LOOOOOL ok


Re: license plate - jamesbond007 - 14.02.2012

Quote:
Originally Posted by PhilippinesRoleplay
Посмотреть сообщение
as i remember, its OnPlayer something, not sure because im an very very old scripter
ahahahah nice..

OnPlayer something xD


Re: license plate - Abreezy - 14.02.2012

For Hood and Trunk:

pawn Код:
CMD:hood(playerid, params[])
{
new car = GetPlayerVehicleID(playerid);
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(car, engine, lights, alarm, doors, bonnet, boot, objective);
if(bonnet == 0)
{
SetVehicleParamsEx(car,engine,lights,alarm,doors,1,boot,objective);
SendClientMessage(playerid, -1, "You have opened the hood");
}
else
{
SetVehicleParamsEx(car,engine,lights,alarm,doors,0,boot,objective);
SendClientMessage(playerid, -1, "You closed the hood");
}
return 1;
}
I think you can make boot one based off this one. - Untested, not indented, made on quick reply box


Re: license plate - viddo - 14.02.2012

Quote:
Originally Posted by Abreezy
Посмотреть сообщение
For Hood and Trunk:

pawn Код:
CMD:hood(playerid, params[])
{
new car = GetPlayerVehicleID(playerid);
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(car, engine, lights, alarm, doors, bonnet, boot, objective);
if(bonnet == 0)
{
SetVehicleParamsEx(car,engine,lights,alarm,doors,1,boot,objective);
SendClientMessage(playerid, -1, "You have opened the hood");
}
else
{
SetVehicleParamsEx(car,engine,lights,alarm,doors,0,boot,objective);
SendClientMessage(playerid, -1, "You closed the hood");
}
return 1;
}
I think you can make boot one based off this one. - Untested, not indented, made on quick reply box
Thanks, + rep 4 u Now i just need the buyable plate system