How to fix this - 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: How to fix this (
/showthread.php?tid=665241)
How to fix this -
sethpowell11 - 27.03.2019
C:\Users\PCA\AppData\Local\Temp\Rar$DIa1008.48860\ FRP.pwn(4704
: error 017: undefined symbol "SweeperVehicles"
C:\Users\PCA\AppData\Local\Temp\Rar$DIa1008.48860\ FRP.pwn(4704
: warning 215: expression has no effect
C:\Users\PCA\AppData\Local\Temp\Rar$DIa1008.48860\ FRP.pwn(4704
: error 001: expected token: ";", but found "]"
C:\Users\PCA\AppData\Local\Temp\Rar$DIa1008.48860\ FRP.pwn(4704
: error 029: invalid expression, assumed zero
C:\Users\PCA\AppData\Local\Temp\Rar$DIa1008.48860\ FRP.pwn(4704
: fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Can you help me
Re: How to fix this -
SiaReyes - 27.03.2019
Code:
error 017: undefined symbol "SweeperVehicles"
means you have not defined SweeperVehicles.
Show the line 47048.
Re: How to fix this -
sethpowell11 - 27.03.2019
Here
https://imgur.com/a/fLI7qTU
Re: How to fix this -
SiaReyes - 27.03.2019
Quote:
Originally Posted by sethpowell11
|
Put this at top of your scirpt!
Re: How to fix this -
sethpowell11 - 27.03.2019
https://imgur.com/cM4h5DY
Re: How to fix this -
justinnater - 28.03.2019
You have to place 'new' before the SweeperVehicles[17];
Than you will have it declared as a array so you can store the vehicles in it.
Re: How to fix this -
sethpowell11 - 28.03.2019
Can you help me how to fix this
https://imgur.com/0froinW
Re: How to fix this -
justinnater - 28.03.2019
You have declared the array twice. Remove one and place the other before any code that uses this array.