Help with bankrob
#1

How can i add to a bankrobbing system that when you die within 20 min of the bankrob, you will lose youre earned money.

Example:

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.
Reply
#2

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
Reply
#3

check out your PMs
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)