05.10.2010, 15:02
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;
}