license plate
#1

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
Reply
#2

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

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

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
Reply
#5

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
Reply
#6

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)