Timer Help
#1

Hello Guys Please Tell Me how i can make my register command To be available to player only if he had played on the server for 10 mins.remember i don't want that the Register dialog comes automatically after 10 mins

Here is my register command
Код:
CMD:register(playerid, params[])
    {
       new string [ 300 ];
    INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);

    new pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));

    format(string, sizeof(string), ""COL_WHITE"{0066FF}BilluGang Cops And Robbers\n\n{999999}New Registration\n{FFFFFF}Nick:{0099FF}%s\n\n{FFFFFF}Do {FF0000}Not {FFFFFF}Register Multiple Accounts\n{FFFFFF}Do {FF0000}Not {FFFFFF}Use The Game Password That You Use Elsewhere\n\nPlease {FFFF66}Enter Your Password {FFFFFF}For Your Account:", pName);
    ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_INPUT, ""COL_WHITE"{FFFFFF}CnR {FFFFFF}Registration", string, "Register", "Cancel");
}
Reply


Messages In This Thread
Timer Help - by CarRamper - 23.06.2016, 08:14
Re: Timer Help - by Stinged - 23.06.2016, 08:25
Re: Timer Help - by CarRamper - 23.06.2016, 08:31
Re: Timer Help - by CarRamper - 23.06.2016, 08:41
Re: Timer Help - by CarRamper - 23.06.2016, 08:43
Re: Timer Help - by Sjn - 23.06.2016, 08:47
Re: Timer Help - by Stinged - 23.06.2016, 08:49
Re: Timer Help - by CarRamper - 23.06.2016, 09:06
Re: Timer Help - by CarRamper - 23.06.2016, 09:09
Re: Timer Help - by Sjn - 23.06.2016, 09:15

Forum Jump:


Users browsing this thread: 1 Guest(s)