Hit Contract
#5

Quote:
Originally Posted by jackx3rx
Посмотреть сообщение
This is what I would do:

- Create a global variable something like 'bool:PlayerIsWanted[MAX_PLAYERS]'.
- If the player is contracted, set PlayerIsWanted to true on that individual player.
- OnPlayerDeath, pay out the contract money to the killerid and set PlayerIsWanted to false on the player.
Ok but, how do I save the contract amount in a variable? As in, if I place a hit on someone for $7,000, then when they were killed how do I pay retrieve the amount to pay to the player?
Reply


Messages In This Thread
Hit Contract - by FunnyBear - 01.01.2015, 20:20
Re: Hit Contract - by Neos07 - 01.01.2015, 21:21
Re: Hit Contract - by ball - 01.01.2015, 21:22
Re: Hit Contract - by jackx3rx - 01.01.2015, 21:42
Re: Hit Contract - by FunnyBear - 01.01.2015, 23:33

Forum Jump:


Users browsing this thread: 1 Guest(s)