SA-MP Forums Archive
Plz help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Plz help (/showthread.php?tid=468033)



Plz help - En2katas - 06.10.2013

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.


Re: Plz help - SilentSoul - 06.10.2013

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


Re: Plz help - En2katas - 06.10.2013

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.


Re: Plz help - SilentSoul - 06.10.2013

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


Re: Plz help - En2katas - 06.10.2013

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


Re: Plz help - SilentSoul - 06.10.2013

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 .


Re: Plz help - En2katas - 06.10.2013

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.


Re: Plz help - En2katas - 06.10.2013

Everything, lockable topic