only ID 0 player gets jail count..
#2

Use SetTimerEx instead of SetTimer. When I was a beginner in PAWN I also had this error.

SetTimerEx is used for call a function with arguments.

Usage:

pawn Код:
SetTimerEx(FuncName[], Interval, Repeating, const format, Float{.._});
Example:

pawn Код:
SetTimerEx("YourFunc", 10000, false, "i", playerid);
How to use "i", "s", and "f":

i = integer: For Example class IDs, like players, vehicles and objects.
s = string: For example messages, filenames etc...
f = float: For example coordinates

Example:

pawn Код:
SetTimerEx("YourFunc", 10000, false, "iiifffs", playerid, objectid, vehicleid, x, y, z, "Hello");
Reply


Messages In This Thread
only ID 0 player gets jail count.. - by lvlaid - 21.06.2011, 20:16
Re: only ID 0 player gets jail count.. - by Sasino97 - 21.06.2011, 20:31
Re: only ID 0 player gets jail count.. - by lvlaid - 22.06.2011, 18:55
Re: only ID 0 player gets jail count.. - by lvlaid - 11.07.2011, 10:26
Re: only ID 0 player gets jail count.. - by alpha500delta - 11.07.2011, 11:26
Re: only ID 0 player gets jail count.. - by lvlaid - 30.07.2011, 21:14

Forum Jump:


Users browsing this thread: 2 Guest(s)