How to put the mappings to the main GM
#1

Hello guys, is it possible for me to move all my mappings to the main Game Mode? As my host don't load the filterscripts I have. Please help me.

Just reply what things you need.
Reply
#2

Yes, you can.

Just paste all the Mappings Codes into your OnGameModeInit() Callback

EDIT :-
pawn Код:
public OnGameModeInit()
{
    /* Your Mappings Code Here */
    return 1;
}
Reply
#3

pawn Код:
public OnGameModeInit()
{
//////paste your mapping codes here///
return 1;
}
Reply
#4

I got this error
Код:
C:\Users\JohnMark\Desktop\IGRP Script\gamemodes\IGRP.pwn(4000) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")
C:\Users\JohnMark\Desktop\IGRP Script\gamemodes\IGRP.pwn(73935) : warning 217: loose indentation
C:\Users\JohnMark\Desktop\IGRP Script\gamemodes\IGRP.pwn(93397) : error 021: symbol already defined: "Audio_OnGameModeInit"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#5

Problem #1:
"(4000) : warning 235: public function lacks forward declaration (symbol "Audio_OnSetPack")"
Update your Include: [Plugin] Audio Plugin
or
just make a Forward Function for that Public Function,
Код:
forward Audio_OnSetPack(audiopack[])
Problem #2:
"(73935) : warning 217: loose indentation"
Loose Indentation = Press TAB.

Problem #3:
"(93397) : error 021: symbol already defined: "Audio_OnGameModeInit""
Symbol is already defined delete one Audio_OnGameModeInit.
Reply
#6

Resolved!
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)