i need help in car jump
#1

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if (PRESSED(KEY_SUBMISSION))
	{
        new Float:x, Float:y, Float:z; new vehicle=GetPlayerVehicleID(playerid); //forgot somehing here Niixie :)
        if(IsPlayerInAnyVehicle(playerid))
        {
			GetVehicleVelocity(vehicle,x,y,z);
  			SetVehicleVelocity(vehicle,x,y,z+0.001);
		}
		else
		{
			GetPlayerVelocity(playerid, x, y, z);
  			SetPlayerVelocity(playerid, x, y, z + 0.001);
        }
	}
	return 1;
}
it's workes but the jump is very high i need this small jump
Reply
#2

i need to {tut} how to make city or land for admins if you have video but it here
Reply
#3

make a object somewhere in air and than make teleport command that is all
Reply
#4

Quote:
Originally Posted by Lajko1
make a object somewhere in air and than make teleport command that is all

i don't know how make city or land
Reply
#5

Use a Map editor then.
You need to know the object ids of the objects you want to add and some map editors do this for you.
Read the stickies and search the forum before asking everything that comes to your mind here.
Also search ****** and ******* because there are a lot of TUTs and videos regarding queries like these.
Reply
#6

DJDhan it's not work
Код:
		if(IsPlayerConnected(i) && Inf[i] == 1) 
		{
			if(AGosterge[i] == false)
			{
				  TextDrawShowForPlayer(i, Text:ArkaPlan0);
				  TextDrawShowForPlayer(i, Text:ArkaPlan1);
				  TextDrawShowForPlayer(i, Text:ArkaPlan2);
				  TextDrawShowForPlayer(i, Text:ArkaPlan3);
				  TextDrawShowForPlayer(i, Text:ArkaPlan4);
				  AGosterge[i] = true;
			}
Reply
#7

Quote:
Originally Posted by DJDhan
Use a Map editor then.
You need to know the object ids of the objects you want to add and some map editors do this for you.
Read the stickies and search the forum before asking everything that comes to your mind here.
Also search ****** and ******* because there are a lot of TUTs and videos regarding queries like these.
thanks
Reply
#8

Try with +2.0 instands of 0.001 (i thought it wasn't possible to Increase the vehicle speed with a very low value.), and...
Код:
new vehicle=GetPlayerVehicleID(playerid);
Why do you need that?
Reply
#9

Quote:
Originally Posted by GTAguillaume
Try with +2.0 instands of 0.001 (i thought it wasn't possible to Increase the vehicle speed with a very low value.), and...
Код:
new vehicle=GetPlayerVehicleID(playerid);
Why do you need that?
i need my server is awesome and lots of players goin to the server
Reply
#10

and i try with lot of ways
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)