help me please
#6

pawn Код:
new IsCount = 0;

if (strcmp(cmd, "/count", true) == 0)
    {
    if(IsCount == 0)
    {
    if(GetPVarInt(playerid,"CMDABUSE")>GetTickCount())return SendClientMessage(playerid,0xFF0000FF,"devi aspettare per rifare il comando");
    SetPVarInt(playerid,"CMDABUSE",GetTickCount()+5000);
    ccd1();
    new string[256], pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "countdown startato da %s", pname);
    SendClientMessageToAll(0x33CCFFAA, string);
    printf("[CMD] %s ha usato il comando /count", pname);
    IsCount = 1;
    }
    if(IsCount == 1)
    {
    SendClientMessageToAll(0x33CCFFAA,"non puoi startare il conto и gia partito");
    }
    return 1;
}
Reply


Messages In This Thread
help me please - by iJumbo - 10.07.2010, 11:37
Re: help me please - by willsuckformoney - 10.07.2010, 11:45
Re: help me please - by DeathOnaStick - 10.07.2010, 11:48
Re: help me please - by iJumbo - 10.07.2010, 11:59
Re: help me please - by iJumbo - 10.07.2010, 12:06
Re: help me please - by Cameltoe - 10.07.2010, 12:12

Forum Jump:


Users browsing this thread: 1 Guest(s)