Using TMP
#1

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?
Reply
#2

pawn Код:
new tmp[size];
Reply
#3

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)
Reply
#4

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
Reply
#5

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

pawn Код:
new tmp[256];
Reply
#6

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
Reply
#7

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"
Reply
#8

Cases:

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

Omg just read the pawn doc.
Reply
#10

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)