Coords Howto?
#4

You can use a timer.

pawn Код:
SetTimerEx("Public name", time in milisecounds, repeat, "format", parameters);

The format is (Quote from wiki):

pawn Код:
%b   Inserts a number at this position in binary radix
%c  Inserts a single character.
%d  Inserts an integer (whole) number
%f  Inserts a floating point number.
%i  Inserts an integer.
%s  Inserts a string.
%x  Inserts a number in hexadecimal notation.
%%  Inserts the literal '%
Then the parameters will be the posx, posy, etc.

repeat can be true or false.

True if the timer will constatly call the callback or false if the timer will call the callback just one time.

It's not the best explaination, so https://sampwiki.blast.hk/wiki/SetTimerEx
Reply


Messages In This Thread
Coords Howto? - by [DDC]Delight - 23.06.2010, 19:59
Re: Coords Howto? - by DJDhan - 23.06.2010, 20:02
Re: Coords Howto? - by ReVo_ - 23.06.2010, 20:02
Re: Coords Howto? - by russo666 - 23.06.2010, 20:05
Re: Coords Howto? - by [DDC]Delight - 23.06.2010, 20:11

Forum Jump:


Users browsing this thread: 1 Guest(s)