Help, car(key)
#1

Hello, i need help

I added:
Код:
	AddStaticVehicleEx(560,1113.905,-306.1669,73.99219,91.17463,90, -1, 30000); // Hitman sultan 133
	AddStaticVehicleEx(560,1106.967,-311.242,73.99219,359.7313, -1, 30000); // Hitman sultan 134
And i complied.. I go server and entering this car, says You dont have bus key for this....!

help? How do i make Hitmans only can enter/driving this car.. ?

Source is Los Angeles RolePlay (GF edit)
Reply
#2

i think GF have a command of /givecar
/givecar hitman.. try that command
Reply
#3

Help..!
Reply
#4

Bump! Need help please!
Reply
#5

change "30000" by your team id
me i thing it's 80000
Reply
#6

Quote:
Originally Posted by James_Alex
change "30000" by your team id
me i thing it's 80000
The last argument represents the respawn delay since its AddStaticVehicleEx
By putting your team id there for example 2, the car will respawn in 2 milliseconds.
Reply
#7

look on STATE_DRIVER ... there's definition what to do if player is in vehicle.. so change vehicle ids and then it will work
Reply
#8

Код:
		if(newcar >= 56 && newcar <= 58)
		{
		  if(PlayerInfo[playerid][pMember] == 8||PlayerInfo[playerid][pLeader] == 8) { }
		  else
			{
		    SendClientMessage(playerid,COLOR_GREY," You don't have keys of this vehicle !");
		    RemovePlayerFromVehicle(playerid);
		  }
		}
How i add Sultan id car 560 ?
Reply
#9

Because it's stupid GodFather script.


Check the cars' IDs, they need to have a match with the hitmen keys.
Reply
#10

Help! Where i add cars id 560 ??
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)