SA-MP Forums Archive
Help Again - 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: Help Again (/showthread.php?tid=469230)



Help Again - DuongNghia - 12.10.2013

Quote:

C:\Documents and Settings\Admin\Desktop\CountrySide RolePlay 2.1\CountrySide RolePlay 2.1\gamemodes\cs.pwn(9301) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
C:\Documents and Settings\Admin\Desktop\CountrySide RolePlay 2.1\CountrySide RolePlay 2.1\gamemodes\cs.pwn(10271) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 4292 bytes
Code size: 462412 bytes
Data size: 1033028 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5513 cells (22052 bytes)
Total requirements: 1516116 bytes

2 Warnings.

And how can't i'm changes mode



Re: Help Again - Konstantinos - 12.10.2013

https://sampforum.blast.hk/showthread.php?tid=469217

and

https://sampwiki.blast.hk/wiki/SetGameModeText


Re: Help Again - PT - 12.10.2013

you need repair this too

Quote:

C:\Documents and Settings\Admin\Desktop\CountrySide RolePlay 2.1\CountrySide RolePlay 2.1\gamemodes\cs.pwn(9301) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
C:\Documents and Settings\Admin\Desktop\CountrySide RolePlay 2.1\CountrySide RolePlay 2.1\gamemodes\cs.pwn(10271) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")

it is simple

pawn Код:
forward OnPlayerPrivmsg(/* the parameters here */);
forward OnPlayerInfoChange(/* the parameters here */);



Re: Help Again - iFiras - 12.10.2013

Just do stock instead of forward & public
and change the mode OnGameModeInit
Код:
SetGameModeText("WRITE HERE WHAT EVER YOU LIKE TO WRITE FOR GM MODE");