How to add a game mode to my server? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Server (
https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (
https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: How to add a game mode to my server? (
/showthread.php?tid=282439)
How to add a game mode to my server? -
rangerxxll - 11.09.2011
Hello, I'm having a little trouble adding a game mode to my server. Here's a few pics of what I have.
My game mode name is "testserver"
What am I doing wrong? any help would be appreciated.
Re: How to add a game mode to my server? -
Sasino97 - 11.09.2011
There's no Entry-Point.
Add
To the GameMode
Re: How to add a game mode to my server? -
rangerxxll - 11.09.2011
Quote:
Originally Posted by [GF]Sasino97
There's no Entry-Point.
Add
To the GameMode
|
Add it to the very bottom of the game mode?
Re: How to add a game mode to my server? -
Sasino97 - 11.09.2011
Quote:
Originally Posted by rangerxxll
Add it to the very bottom of the game mode?
|
Somewhere after the #includes, but not inside other functions
Very Basic example:
pawn Code:
#include <a_samp>
#include <Streamer>
// ...
new pMoney[MAX_PLAYERS];
// ...
main()
{
print("Hello World!");
return 0;
}
// Then here you can put all the other things
public OnPlayerConnect(playerid)
{
// ....
}
Re: How to add a game mode to my server? -
rangerxxll - 11.09.2011
Quote:
Originally Posted by [GF]Sasino97
Somewhere after the #includes, but not inside other functions
Very Basic example:
pawn Code:
#include <a_samp> #include <Streamer> // ...
new pMoney[MAX_PLAYERS]; // ...
main() { print("Hello World!"); return 0; }
// Then here you can put all the other things
public OnPlayerConnect(playerid) { // .... }
|
Thank you for your help

I appreciate it +1 rep.