Why this isn't working?
#3

The remote control is deleted from the players weapons before OnPlayerKeyStatceChange is called, so the player wont have it as active weapon then. You will have to use another key, so it is not deleted, or use a LastWeapon system in OnPlayerUpdate: check if lastweapon[playerid] is 40 and player presses fire key, if yes detonate, if not set lastweapon to the players current weapon (only a short example, not sure if it works exactly that way, im just too lazy to check how i did get it working )
Reply


Messages In This Thread
Why this isn't working? - by The_Moddler - 29.09.2010, 19:03
Re: Why this isn't working? - by The_Moddler - 29.09.2010, 21:15
Re: Why this isn't working? - by Mauzen - 29.09.2010, 21:27
Re: Why this isn't working? - by The_Moddler - 29.09.2010, 22:09

Forum Jump:


Users browsing this thread: 3 Guest(s)