I need help please.
#1

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

Paste the lines here or in a pastebin
Reply
#3

http://pastebin.com/5kpZv18y

First line: 4641
Last line: 4870

Thx.
Reply
#4

nobody knows?
Reply
#5

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

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)