60 Second Textdraw countdown.
#2

To get the playerid you need SetTimerEx instead of SetTimer.

Example:

pawn Код:
// this is the forward/ect part
forward karttimer(playerid);

//this goes in your code
SetTimerEx("karttimer", 60000, 0, "i", playerid);

// This is the public part
public karttimer(playerid)
{
  new pname[24], string[128];
  GetPlayerName(playerid, pname, sizeof(pname));
  format(string, sizeof(string), "%s Has failed to compleat the kart track within 1 minute.", pname);
  SendClientMessageToAll(0x33AA33AA, string);
}
Reply


Messages In This Thread
60 Second Textdraw countdown. - by [mad]MLK - 14.08.2009, 09:00
Re: 60 Second Textdraw countdown. - by Weirdosport - 14.08.2009, 09:22

Forum Jump:


Users browsing this thread: 1 Guest(s)