25.02.2010, 12:09
(
Последний раз редактировалось aircombat; 08.04.2011 в 09:52.
)
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
2. How to make if a player dies from TEAM_LS all the players from TEAM_LV gets 100$ and opposite??
________
EXERCISE / FITNESS FORUMS
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; }
________
EXERCISE / FITNESS FORUMS