Quote:
Originally Posted by Weirdosport
If you open pawno, and press the new button, you'll be presented with a page full of callbacks.
For the time being, you won't need most of these, so delete the stuff there and paste this for the time being:
pawn Код:
#include <a_samp>
main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); }
public OnGameModeInit() { SetGameModeText("Your Name Here"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); return 1; }
public OnGameModeExit() { return 1; }
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // Do something here return 1; } return 0; }
When loaded, this gamemode will give the name in the server window that you specify, and allow you to spawn as CJ at the casino place up the escalators in LV.
|
thanks alot, however, im hosting the server on kingj.net, and i dont have pawno, what should i use, OR how do i get his pawno?
thanks alot, sorry for being rude...