help me please
#1

i have this command and work fine
pawn Код:
if (strcmp(cmd, "/count", true) == 0)
    {
    if(GetPVarInt(playerid,"CMDABUSE")>GetTickCount())return SendClientMessage(playerid,0xFF0000FF,"wait 5 second");
    SetPVarInt(playerid,"CMDABUSE",GetTickCount()+5000);
    ccd1();
    new string[256], pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    format(string, sizeof(string), "countdown started by %s", pname);
    SendClientMessageToAll(0x33CCFFAA, string);
    return 1;
}
and the public
pawn Код:
public ccd1()
{
GameTextForAll("~y~3", 500, 4);
SetTimer("ccd2", 900, 0);
}

public ccd2()
{
GameTextForAll("~r~2", 500, 4);
SetTimer("ccd3", 900, 0);
}

public ccd3()
{
GameTextForAll("~r~1", 500, 4);
SetTimer("ccd4", 900, 0);
}

public ccd4()
{
GameTextForAll("~y~]] ~r~GO ~y~]]", 1000, 4);
}
how i can make when one player type /count a other player recive "you cant start it is already started" help plz some player spawn it in my server
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: 4 Guest(s)