GodFather
#1

I need help with godfather.
I havent edited it a bit & I get error. How to fix this?

pawn Код:
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\gf.pwn(24793) : error 017: undefined symbol "NameTimer"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
The code is:
pawn Код:
NameTimer();
How can I define it?
Reply
#2

to define u should use #define
i dont know much
Reply
#3

Код:
new NameTimer();
Reply
#4

Now that i added
pawn Код:
new NameTimer();
I get:
pawn Код:
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\gf.pwn(223) : error 001: expected token: ";", but found "("
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\gf.pwn(24794) : error 012: invalid function call, not a valid address
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\gf.pwn(24794) : error 029: invalid expression, assumed zero
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\gf.pwn(24794) : warning 215: expression has no effect
C:\Users\Max\Desktop\GTA San Andreas\samp03csvr_win32\gamemodes\gf.pwn(26239) : warning 203: symbol is never used: "NameTimer"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
How to fix
Reply
#5

Can we see lines:

223 & 24794 plz
Reply
#6

223:
pawn Код:
new NameTimer();
24794:
pawn Код:
new string[128];
EDIT: Fixed it with
pawn Код:
new NameTimer = 300;
Should this work ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)