SA-MP Forums Archive
Using TMP - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Using TMP (/showthread.php?tid=88928)



Using TMP - anonymoushacker - 29.07.2009

what do i do to fix this?

C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(206) : error 017: undefined symbol "tmp"

i think i have todownload an include, if so, culd someone plz give me a link?


Re: Using TMP - refshal - 29.07.2009

pawn Код:
new tmp[size];



Re: Using TMP - anonymoushacker - 29.07.2009

that doesnt work dude


C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(5) : error 017: undefined symbol "size"
C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(5) : error 009: invalid array size (negative, zero or out of bounds)


Re: Using TMP - anonymoushacker - 29.07.2009

i am trying to get a /givegun command i download to work

and i have these errors


C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(203) : error 017: undefined symbol "tmp"
C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(204) : error 017: undefined symbol "tmp"
C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(210) : error 017: undefined symbol "tmp"
C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(225) : error 017: undefined symbol "ProxDetectorS"
C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(23 : error 017: undefined symbol "ProxDetector"


i did have like 20 more, but i fixed them


Re: Using TMP - refshal - 29.07.2009

pawn Код:
new tmp[128];
or

pawn Код:
new tmp[256];



Re: Using TMP - anonymoushacker - 29.07.2009

that fixed those 3 erros, but i kno nothing about tmp, and now i have this

C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(147) : warning 219: local variable "tmp" shadows a variable at a preceding level


Re: Using TMP - anonymoushacker - 29.07.2009

nevermind i fixed it, it jus trepeated itself :P



Uhmm


do u have a solution to this?

C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(224) : error 017: undefined symbol "ProxDetectorS"
C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(237) : error 017: undefined symbol "ProxDetector"


Re: Using TMP - refshal - 29.07.2009

Cases:

pawn Код:
new ProxDetector;
pawn Код:
new ProxDetectorS;
pawn Код:
new ProxDetector[MAX_PLAYERS];
pawn Код:
new ProxDetectorS[MAX_PLAYERS];



Re: Using TMP - paytas - 29.07.2009

Omg just read the pawn doc.


Re: Using TMP - anonymoushacker - 29.07.2009

that doesnt work.......

C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(225) : error 012: invalid function call, not a valid address
C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(225) : warning 215: expression has no effect
C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(225) : warning 215: expression has no effect
C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(225) : warning 215: expression has no effect
C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(225) : error 001: expected token: ";", but found ")"
C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(225) : error 029: invalid expression, assumed zero
C:\Users\rac\Desktop\Gta San Andreas\filterscripts\cash.pwn(225) : fatal error 107: too many error messages on one line