Timer issue
#1

Alright, so I made a timer, and I am trying to have it do something when it ends, so I do this:
pawn Код:
public TutorialTimer(playerid)
{
    return 1;
}
and I get this error:
pawn Код:
C:\Documents and Settings\nmader\Desktop\Folders\Lost Roleplay\gamemodes\Login.pwn(972) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

Show us where you forward the callback. It should look like:

pawn Код:
forward TutorialTimer(playerid);
Reply
#3

Wow... I am so new to timers, thank you for your help, it works now. +rep'ed for the fast and accurate response!
Reply
#4

Quote:
Originally Posted by nmader
Посмотреть сообщение
Wow... I am so new to timers, thank you for your help, it works now. +rep'ed for the fast and accurate response!
Haha it's fine! We all started down there!
No problem.
Reply
#5

Quote:
Originally Posted by funky1234
Посмотреть сообщение
Haha it's fine! We all started down there!
No problem.
I have been scripting for well over a year, just tried like hell to avoid timers, but lately, I am perfecting everything
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)