Timer problem
#2

Try this:

pawn Code:
new loltimer;                    // at the top
forward loltimer();            // at top


if(!strcmp(cmdtext, "/lol", true))      // in  "public OnPlayerCommandText(playerid, cmdtext[])"
{
   loltimer = SetTimer("loltimer", 5000, false);
    return 1;
 }

public loltimer()
{
  SetPlayerPos(playerid,2482.2227,-1646.2852,18.3521);
  return 1;
}
Reply


Messages In This Thread
Timer problem - by nejc001 - 05.10.2010, 14:57
Re: Timer problem - by Matej_ - 05.10.2010, 15:02
Re: Timer problem - by Bumbis - 05.10.2010, 15:04
Re: Timer problem - by nejc001 - 05.10.2010, 15:08

Forum Jump:


Users browsing this thread: 1 Guest(s)