11.09.2011, 01:17
How to add a game mode to my server?
11.09.2011, 01:27
There's no Entry-Point.
Add
To the GameMode
Add
pawn Code:
main() { return 0; }
11.09.2011, 01:30
11.09.2011, 01:31
Somewhere after the #includes, but not inside other functions
Very Basic example:
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)
{
// ....
}
11.09.2011, 01:38
Quote:
Somewhere after the #includes, but not inside other functions
Very Basic example: pawn Code:
|
![Smiley](images/smilies/smile.png)
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)