SA-MP Forums Archive
help plz ;/ - 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: help plz ;/ (/showthread.php?tid=469696)



help plz ;/ - En2katas - 14.10.2013

So I'm doing a single system, and I've been thrown clear error? Could you help me?

C:\Documents and Settings\vitalikas\My Documents\Naujas projektas\gamemodes\***.pwn(1329) : error 017: undefined symbol "taxiDB"
C:\Documents and Settings\vitalikas\My Documents\Naujas projektas\gamemodes\***.pwn(1329) : warning 215: expression has no effect
C:\Documents and Settings\vitalikas\My Documents\Naujas projektas\gamemodes\***.pwn(1329) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\vitalikas\My Documents\Naujas projektas\gamemodes\***.pwn(1329) : error 029: invalid expression, assumed zero
C:\Documents and Settings\vitalikas\My Documents\Naujas projektas\gamemodes\***.pwn(1329) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Line: if(taxiDB[playerid][imti]) taxiDB[playerid][imti]=false;


Re: help plz ;/ - iFiras - 14.10.2013

Try this

pawn Код:
new taxiDB[MAX_PLAYERS];
if(taxiDB[playerid][imti]) return taxiDB[playerid][imti]=false;



Re: help plz ;/ - En2katas - 14.10.2013

anyway errors


Re: help plz ;/ - iFiras - 14.10.2013

Re-try
Edited my post


Re: help plz ;/ - En2katas - 14.10.2013

anyway errors
C:\Documents and Settings\vitalikas\My Documents\Naujas projektas\gamemodes\***.pwn(1330) : error 001: expected token: ")", but found "["
C:\Documents and Settings\vitalikas\My Documents\Naujas projektas\gamemodes\***.pwn(1330) : error 029: invalid expression, assumed zero
C:\Documents and Settings\vitalikas\My Documents\Naujas projektas\gamemodes\***.pwn(1330) : error 017: undefined symbol "imti"
C:\Documents and Settings\vitalikas\My Documents\Naujas projektas\gamemodes\***.pwn(1330) : fatal error 107: too many error messages on one line

Line:
if(taxiDB[playerid][imti]) return taxiDB[playerid][imti]=false;


Re: help plz ;/ - [LCK]Chris - 14.10.2013

put your script on pastebin.com if you want help


Re: help plz ;/ - En2katas - 14.10.2013

http://pastebin.com/HZJLyuaz


Re: help plz ;/ - En2katas - 14.10.2013

uped


Re: help plz ;/ - [LCK]Chris - 14.10.2013

I need these arrays
TaxiSultanas
taxiDB
playerDB

Would be easier to upload the whole script.


Re: help plz ;/ - En2katas - 14.10.2013

me and throws the error as taxiDb look up you will see