SA-MP Forums Archive
Y_timers - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Y_timers (/showthread.php?tid=258807)



Y_timers - StilThere - 01.06.2011

Hi all,

I can't seem to get the parameters in the delayed timer right
Код:
/*line 47*/stock ExitBank(playerid, newinteriorid, oldinteriorid){
	if((oldinteriorid == 3) && (newinteriorid == 0)){
		SetPlayerVirtualWorld(playerid, 0);
		SetPlayerPosDelayed(playerid, 8.3);
		SendClientMessage(playerid, COLOR_WHITE, "test");
	}
	return 1;
}

Delay:SetPlayerPosDelayed[1000, i,f](playerid, Xc){
	return SetPlayerPos(playerid, X[playerid], Y[playerid], Z[playerid]);
}
It gives these errors
Код:
../include/Money.inc(50) : warning 213: tag mismatch
../include/Money.inc(50) : warning 213: tag mismatch
../include/Money.inc(56) : error 017: undefined symbol "f"



Re: Y_timers - StilThere - 01.06.2011

Quote:
Originally Posted by ******
Посмотреть сообщение
Код:
[1000, if]
Not

Код:
[1000, i, f]
However I have been working on an update to y_timers which will make this a lot simpler to use.
That also didn't work :S


Re: Y_timers - StilThere - 05.06.2011

Refresh.


Re: Y_timers - StilThere - 09.06.2011

Refresh..