06.10.2011, 20:54
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...", 30000, 5);
SetTimer("Robbery" ,30000 ,0);
return 1;
}
// At the end of the script
public Robbery(playerid)
{
// NEXT STEP
return 1;
}