I have a coding problem
#4

Quote:
Originally Posted by h02
Посмотреть сообщение
Your problem is because you are defining the following macros:
Код:
#define Spawn
#define WritePlayer
But nothing is assigned to them. It looks like you can just remove #define Spawn to solve one of the errors, but it looks like something should be assigned to Writeplayer. See the following wiki article for more info about #define: https://sampwiki.blast.hk/wiki/Keywords:...ives#.23define
i did this and now i get this error:
Код:
C:\Users\Mihai\Desktop\Galaxy-Games\gamemodes\GGRealLife0.1.pwn(119) : error 017: undefined symbol "WritePlayer"
C:\Users\Mihai\Desktop\Galaxy-Games\gamemodes\GGRealLife0.1.pwn(342) : warning 235: public function lacks forward declaration (symbol "Spawn")
C:\Users\Mihai\Desktop\Galaxy-Games\gamemodes\GGRealLife0.1.pwn(345) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
EDIT: i fixed one of the errors now i only have:
Код:
C:\Users\Mihai\Desktop\Galaxy-Games\gamemodes\GGRealLife0.1.pwn(119) : warning 215: expression has no effect
C:\Users\Mihai\Desktop\Galaxy-Games\gamemodes\GGRealLife0.1.pwn(342) : warning 235: public function lacks forward declaration (symbol "Spawn")
C:\Users\Mihai\Desktop\Galaxy-Games\gamemodes\GGRealLife0.1.pwn(345) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
I have a coding problem - by Mikibey - 02.06.2012, 04:58
Re: I have a coding problem - by Scott - 02.06.2012, 05:05
Re: I have a coding problem - by ReneG - 02.06.2012, 05:09
Re: I have a coding problem - by Mikibey - 02.06.2012, 05:21
Re: I have a coding problem - by Niko_boy - 02.06.2012, 07:44

Forum Jump:


Users browsing this thread: 1 Guest(s)