Confused as hell ..
#4

Quote:
Originally Posted by Lajko1
Посмотреть сообщение
Well what is global?

EDIT: if I change it to your code I get errors "underfined playerid" that's why I have FLower(playerid) some more help please ^^
He wanted to say without parameters and that's the problem.

Any callback is used by SetTimer doesn't have parameters; however those callbacks are used by SetTimerEx do have parameters (such as playerid etc - that depends on the arguments though).

So it should be:
pawn Код:
// Before the public function:
forward FLower();

// Somewhere else:
public FLower()
{
    // code..
}
You said it gives the playerid symbol as undefined, so I assume that you may be using it as:
pawn Код:
FLower(playerid);
somewhere which is incorrect and it might goes too fast due to that.
Reply


Messages In This Thread
Confused as hell .. - by Lajko1 - 21.11.2013, 16:50
Re: Confused as hell .. - by Loot - 21.11.2013, 17:09
Re: Confused as hell .. - by Lajko1 - 21.11.2013, 17:22
Re: Confused as hell .. - by Konstantinos - 21.11.2013, 17:29
Re: Confused as hell .. - by Lajko1 - 21.11.2013, 17:33
Re: Confused as hell .. - by Konstantinos - 21.11.2013, 18:08
Re: Confused as hell .. - by Lajko1 - 21.11.2013, 18:39
Re: Confused as hell .. - by Konstantinos - 21.11.2013, 19:19
Re: Confused as hell .. - by Lajko1 - 21.11.2013, 19:35
Re: Confused as hell .. - by Lajko1 - 21.11.2013, 22:48

Forum Jump:


Users browsing this thread: 1 Guest(s)