ejecting
#1

i made an ejection system so if player is in a hydra or rustler and press Space , it eject the player but it doesnt work :
V
V
V
V
V
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
  new vehicleid = GetPlayerVehicleID(playerid);
  new modelid = GetVehicleModel(vehicleid);
	if((newkeys & KEY_HANDBRAKE))
	{
	  if(modelid == 476 && modelid == 520)
	  {
   	
	    GivePlayerWeapon(playerid,46,1);
	    new Float:pos[3]; GetPlayerPos(playerid,pos[0],pos[1],pos[2]);
	    SetPlayerPos(playerid,pos[0],pos[1],pos[2]+30);
	    GameTextForPlayer(playerid, "Ejecting..", 5000, 5);
	  }
	}
	return 1;
}
2. How to make if a player dies from TEAM_LS all the players from TEAM_LV gets 100$ and opposite??
________
EXERCISE / FITNESS FORUMS
Reply


Messages In This Thread
ejecting - by aircombat - 25.02.2010, 12:09
Re: ejecting - by Correlli - 25.02.2010, 12:10
Re: ejecting - by mick88 - 25.02.2010, 12:41
Re: ejecting - by silvan - 25.02.2010, 13:59
Re: ejecting - by aircombat - 25.02.2010, 16:03

Forum Jump:


Users browsing this thread: 3 Guest(s)