Making players having to wait SOME TIME before moving to NEXT STEPS
#5

PHP код:
// At the top of your script
forward Robbery(playerid);
// OnPlayerCommandText
if(!strcmp(cmdtext"/robbery"true))
{
    
GameTextForPlayer(playerid"~Y~You are Attempting to ~r~ Hack ~y~ Bank Door ~n~ ~g~ You have to wait..."300005);
    
SetTimer("Robbery" ,30000 ,0);
    return 
1;
}
// At the end of the script
public Robbery(playerid)
{
   
// NEXT STEP
   
return 1;

EDIT: Or use Fj0rtizFredde's code
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)