05.10.2010, 14:57
When i write /lol after 5 seconds it should teleport me to some position i set.
Check this.
I get error that "playerid" in "SetPlayerPos" line is not defined. I Dont Know what to do.
Check this.
Code:
forward loltimer(); // at top if(!strcmp(cmdtext, "/lol", true)) // in "public OnPlayerCommandText(playerid, cmdtext[])" { SetTimer("loltimer", 5000, false); return 1; } return 1; } public loltimer() { SetPlayerPos(playerid,2482.2227,-1646.2852,18.3521); return 1; }