Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: dynavolt71 on February 10, 2013, 03:55:45 am

Title: warning 235
Post by: dynavolt71 on February 10, 2013, 03:55:45 am
Help I Get Error Pawno Generate below
Code: [Select]
gamemodes\new.pwn(157) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
gamemodes\new.pwn(167) : warning 235: public function lacks forward declaration (symbol "OnPlayerRequestClass")
gamemodes\new.pwn(174) : warning 235: public function lacks forward declaration (symbol "OnGameModeExit")
gamemodes\new.pwn(181) : warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")
gamemodes\new.pwn(187) : warning 235: public function lacks forward declaration (symbol "OnPlayerDisconnect")
gamemodes\new.pwn(193) : warning 235: public function lacks forward declaration (symbol "OnPlayerSpawn")
gamemodes\new.pwn(199) : warning 235: public function lacks forward declaration (symbol "OnPlayerDeath")
gamemodes\new.pwn(206) : warning 235: public function lacks forward declaration (symbol "OnPlayerText")
gamemodes\new.pwn(214) : warning 235: public function lacks forward declaration (symbol "OnPlayerEnterVehicle")
gamemodes\new.pwn(220) : warning 235: public function lacks forward declaration (symbol "OnPlayerExitVehicle")

I Dont Know Why i Got This Problem  ???
Sorry For My Bad English  ;D
Title: Re: warning 235
Post by: Fuzzy168 on February 10, 2013, 06:27:16 am
Even I have once gotten this problem but now I solved it. All it takes are some simple editing.

1st: Open your Pawno editor folder head for the include folder.
2nd: Open the a_vcmp.inc using notepad or any other editing software.
3rd: Scroll to the bottom until you find Forwards (Callback declarations) .
4th: Remove the comments symbol /* and */.

Good Luck.
Title: Re: warning 235
Post by: VC[88]PD on February 10, 2013, 09:46:08 am
What command have you added?Show me and I maybe can help you :P
Title: Re: warning 235
Post by: Fuzzy168 on February 11, 2013, 06:27:53 am
What command have you added?Show me and I maybe can help you :P
This warning has nothing to do with commands. Just replace your a_vcmp.inc with this one (http://www.mediafire.com/?wn28izxlvqhxtdt) if you have troubles with the instruction I gave you...
Title: Re: warning 235
Post by: dynavolt71 on February 11, 2013, 10:25:41 am
Awesome Its Working Thank You :D  :)
~Topic Locked~
REASON : Problem Sloved