Problem with timer
#1

Hi!


I got some problem with my timer in my FS...

Every thing looks like it should do... And I've tierd alot but I couldn't figure it out...

Anyway the timer goes to a moveObject

If it makes any sence..

I get this error:

Function heading differs from prototype..

Error 025
Reply
#2

The error means, that when you defined it you maybe put less or more parameters then needed.

for Example:
pawn Код:
forward Something(playerid, weaponid);

public Something(playerid, weaponid, vehicleid) // the problem is that, as you can see there are more parameters here then their is in the forward declaration.
{
      // something here
}
Hope this helps
Reply
#3

If you entered something like public OnPlayerConnect(vehicleid), which is wrong, you would get this error.
Reply
#4

Okay thanks I just used MoveObject there.. Will it work... ??. I've never had problem with timers before..
Reply
#5

give the code.
Reply
#6

I solved it now thanks alot anyway! I just forgot one thing in the forward.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)