Robbery time
#1

Hallo!

I was trying to figure how to do this:

I have some robberies but I want to set a time like 30 secs to sucess the robery

Hope you understand
Reply
#2

You could use SetTimer function. And call it when someone is attempting to rob.

PHP код:
forward RobberyTimer();
public 
OnGameModeInit()
{
    
SetTimer("RobberyTimer"30000false);
    return 
1;
}
public 
RobberyTimer()
{
    return 
1;

Reply
#3

nicely said
Reply
#4

But how do I make the text to show? Like:
Robbery time left : 25 seconds?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)