Hydra Ejection System -
Mobst3r111 - 27.04.2009
Код:
if (strcmp("/eject", cmdtext, true, 10) == 0)
{
new newcar = GetPlayerVehicleID(playerid);
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 520)
{
GivePlayerWeapon(playerid,46,1);
GetPlayerPos(playerid, x,y,z);
SetPlayerPos(playerid,x,y,z+30);
}
else
{
SendClientMessage(playerid, COLOR_RED, "You Are Not In A Hydra");
}
return 1;
}
Ejection seat
Shoot You up in the sky and gives u a para
Re: Hydra Ejection System -
[DSK]Vyorel - 27.04.2009
http://forum.sa-mp.com/index.php?topic=2868.0
Re: Hydra Ejection System -
Trooper[Y] - 27.04.2009
Useless....
Re: Hydra Ejection System -
Mobst3r111 - 27.04.2009
because of?
Re: Hydra Ejection System -
Trooper[Y] - 27.04.2009
You`ll never use this....
Before a crash,
you do not have the time to type "/eject" !
Change it, so you have to press 2 (for example), this would be more useful, but even easy.
If your just starting scripting, its a good trainig....
Re: Hydra Ejection System -
tom_jonez - 27.04.2009
remember to add in: RemovePlayerFromVehicle or else i think theyll crash. (the game)
Re: Hydra Ejection System -
BoRg4LiFe - 27.04.2009
why u give the player weps i dont know and you must add RemovePlayerFromVehicle(playerid,...)
because what the other dude said was right lol then he wouldnt budge. and try to assign a specific key under OnPlayerKeyStateChange. oO
Re: Hydra Ejection System -
Trooper[Y] - 27.04.2009
Quote:
why u give the player weps
|
its the parachute
Re: Hydra Ejection System -
Mobst3r111 - 27.04.2009
why dont u try it it auto kicks u out?
Re: Hydra Ejection System -
BoRg4LiFe - 28.04.2009
Quote:
Originally Posted by Trooper[Y
]
Quote:
why u give the player weps
|
its the parachute 
|
ah

i usually do pickups as parachutes.
Re: Hydra Ejection System -
Pyrokid - 29.04.2009
Your indentation needs some work.
And in the time it takes the person to type /eject, they could have just tried to maneuver around the obstacle. It'd be better if you used keys.