View Single Post
Old 11/09/2011, 01:38 AM   #5
rangerxxll
Gangsta
 
rangerxxll's Avatar
 
Join Date: Aug 2011
Posts: 882
Reputation: 59
Default Re: How to add a game mode to my server?

Quote:
Originally Posted by [GF]Sasino97 View Post
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.
rangerxxll is offline   Reply With Quote