I need help please. - 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: I need help please. (
/showthread.php?tid=171165)
I need help please. -
BadSanta - 25.08.2010
Hi, I need help please. I did a GM and I have some errors. Please tell me how to fix errors.
Код:
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\eRP.pwn(4641) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4654) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4664) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4694) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4699) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4704) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4706) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4720) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4735) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4743) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4751) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4759) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4768) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4777) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4786) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4794) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4800) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4809) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4818) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4827) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4836) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4845) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4854) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4861) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4863) : error 017: undefined symbol "newcar"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(4870) : error 017: undefined symbol "newcar"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Please help!
Thx, sorry my bad english.
Re: I need help please. -
Faith - 25.08.2010
Paste the lines here or in a pastebin
Re: I need help please. -
BadSanta - 25.08.2010
http://pastebin.com/5kpZv18y
First line: 4641
Last line: 4870
Thx.
Re: I need help please. -
BadSanta - 25.08.2010
nobody knows?
Re: I need help please. -
BadSanta - 25.08.2010
pawn Код:
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(5713) : warning 219: local variable "newcar" shadows a variable at a preceding level
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(21388) : error 001: expected token: ";", but found "if"
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(30988) : warning 219: local variable "newcar" shadows a variable at a preceding level
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(34243) : warning 225: unreachable code
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\RP.pwn(34243) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Alexxx\Desktop\SAMP\gamemodes\eRP.pwn(34250) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
I put new newcar; and now gives me another error.
Re: I need help please. -
Voldemort - 25.08.2010
That new newcar; put under
OnplayerStateChange
if(newstate == PLAYER_STATE_DRIVER)
error 001: expected token: ";", but found "if" - just put ; one line above this error line.
warning 225: unreachable code - Check where is return 1; too much
invalid function or declaration - You have writen some Function incorrect