Jump to content
  • 0

timer


Tasmell

Question

3 answers to this question

Recommended Posts

[pawn]static

chattime[MAX_PLAYERS],

chat[MAX_PLAYERS][400],

}

public OnPlayerText(playerid, text[])

{

if(IsPlayerFlooding(playerid) && !IsPlayerAdmin(playerid))

{

    SendClientMessage(playerid,0x9900FFAA, "Asteapta 4 secunde");

    return 0;

}

if(!IsPlayerAdmin(playerid))

{

if(strlen(text) == strlen(chat[playerid]) && !strcmp(chat[playerid], text,  false))

{

SendClientMessage(playerid, 0x9900FFAA, "Te rog nu te repeta");

format(chat[playerid], 400, "%s", text);

    return 0;

}

    }[/pawn]

Nu stiu daca o sati mearga ca trb mai multe dar BFT

Link to comment
Share on other sites

[pawn]static

chattime[MAX_PLAYERS],

chat[MAX_PLAYERS][400],

}

public OnPlayerText(playerid, text[])

{

if(IsPlayerFlooding(playerid) && !IsPlayerAdmin(playerid))

{

    SendClientMessage(playerid,0x9900FFAA, "Asteapta 4 secunde");

Dap, imi da erori. :((

    return 0;

}

if(!IsPlayerAdmin(playerid))

{

if(strlen(text) == strlen(chat[playerid]) && !strcmp(chat[playerid], text,  false))

{

SendClientMessage(playerid, 0x9900FFAA, "Te rog nu te repeta");

format(chat[playerid], 400, "%s", text);

    return 0;

}

    }[/pawn]

Nu stiu daca o sati mearga ca trb mai multe dar BFT

Dap,imi da erori. :(( :((

200r807.gif
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.