Plz help
#1

Hi did hospitals system and made it appropriate to take note, but I throws some error can you help?

C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\GM.pwn(1286) : error 017: undefined symbol "cekis"
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\GM.pwn(6950) : error 017: undefined symbol "cekis"
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\GM.pwn(6963) : error 017: undefined symbol "cekis"
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\GM.pwn(11119) : error 017: undefined symbol "cekis"
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\GM.pwn(11125) : error 017: undefined symbol "cekis"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply
#2

Undefined symbol can be fixed by create
pawn Код:
new cekis;
but can you show me lines from 1286 and 11125 ?
Reply
#3

1286: playerDB[ playerid ] [cekis ] = false;
11125: playerDB[ playerid ] [cekis ] = true;

As the signature new checks; throws unite those warning

C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\gm.pwn(1287) : warning 213: tag mismatch
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\gm.pwn(6951) : warning 213: tag mismatch
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\gm.pwn(6964) : warning 213: tag mismatch
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\gm.pwn(11120) : warning 213: tag mismatch
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\gm.pwn(11126) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Warnings.
Reply
#4

Use
pawn Код:
new cekis;
In the top of line 1286
Reply
#5

As the signature new cekis; throws unite those warning

I have this one playerDB[ playerid ] [cekis ] = false;

Signature I am the public OnPlayerDeath (playerid, killerid, reason)
{
because I'm doing so that you kill you Bunni 60 seconds in the hospital and then can pick up in cekis
Reply
#6

Add Under
pawn Код:
OnPlayerDeath (playerid, killerid, reason)
directly
pawn Код:
new cekis;
, if it still not working have a look there https://sampforum.blast.hk/showthread.php?tid=237464 .
Reply
#7

if we add there new cekis, it throws:
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\gm.pwn(1282) : warning 213: tag mismatch
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\gm.pwn(6935) : error 017: undefined symbol "cekis"
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\gm.pwn(694 : error 017: undefined symbol "cekis"
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\gm.pwn(11104) : error 017: undefined symbol "cekis"
C:\Documents and Settings\vitalikas\My Documents\projektas\gamemodes\gm.pwn(11110) : error 017: undefined symbol "cekis"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.
Reply
#8

Everything, lockable topic
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)