26.01.2011, 20:15
Need some help making a cooldown timer on 40 seconds so it only can be used one time in 40 secs
can't really get it working here's the code. would appreciate some help, thanks
can't really get it working here's the code. would appreciate some help, thanks
pawn Код:
if(strcmp(cmd, "/neon", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1471.4198,-1497.0950,13.5469))
{
ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Pick Neon Color", "Blue\nRed\nGreen\nWhite\nPink\nYellow\nRemove All Neon", "Select", "Cancel");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 7.0);
}
return 1;
}