delite topic
#3

pawn Код:
//Ontop
new news;
new newstimer;
//onplayerconnect
news[playerid] = 1;
//underonplayercommand
if(strcmp,cmdtext, "/news",...)
{
news[playerid] = 0
SetTimer("newstimer",20000,1);
//other stuff
return 1;
}

public newstimer(playerid)
{
    news[playerid] = 1;
// you can add other stuff here like SendClientMessage etc.
    return 1;
}
Reply


Messages In This Thread
delite topic - by m0k1 - 24.03.2010, 18:10
Re: /news after 20 secondes - by [LSR]State_Trooper - 25.03.2010, 05:51
Re: /news after 20 secondes - by MaykoX - 25.03.2010, 05:59
Re: /news after 20 secondes - by [LSR]State_Trooper - 25.03.2010, 06:01

Forum Jump:


Users browsing this thread: 3 Guest(s)