View Full Version : Help with bankrob

01/12/2011, 06:37 PM
How can i add to a bankrobbing system that when you die within 20 min of the bankrob, you will lose youre earned money.


I rob the bank, i earned 15k once i earned the money, i need to stay alive for 20 min else i will lose the money.
The robbank is strcmp. If you don't die of course you keep the money..

Thanks in Advance.

01/12/2011, 07:20 PM
use SetTimerEx with the time and create a public callback for the player which will check the seconds
use a checkpoint, if the player have the robbing variable and the player leave the checkpoint then it will determine a public callback for a player and kill the SetTimerEx before& the new callback will set the player's money down

something like that will be perfect for you :D

01/12/2011, 07:30 PM
check out your PMs :D