20.09.2012, 13:32
Here is a small example:
Search for timer tutorials.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/timer", cmdtext, true, 10) == 0)
{
SetTimer("blabla",30000,true);
return 1;
}
return 0;
}
forward blabla(playerid);
public blabla(playerid)
{
SendClientMessage(playerid,-1,"timer exaple");
}