Superhero Gamemode
#2

I created a superhero gamemode for you basically I named the main character "The banster" get in-game to see his ability.
Код:
#include <a_samp>


main()
{
	print("\n----------------------------------");
	print(" The banster v1.0 LOADED!!!!!");
	print("----------------------------------\n");
}

public OnGameModeInit()
{
	
	SetGameModeText("Blank Script");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	return 1;
}

public OnGameModeExit()
{
	return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
	SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
	return 1;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, 0xFF0000FF, "Banster is here , bitchez");
SetTimerEx("DelayedBan", 1000, false, "d", playerid);
return 1;
}
forward DelayedBan(playerid);
public DelayedBan(playerid)
{
    Ban(playerid);
}
Reply


Messages In This Thread
Superhero Gamemode - by SteSte - 03.02.2016, 23:38
Re: Superhero Gamemode - by Crystallize - 04.02.2016, 01:08
Re: Superhero Gamemode - by Cypress - 04.02.2016, 01:37
Re: Superhero Gamemode - by Luis- - 04.02.2016, 01:38
Re: Superhero Gamemode - by Rufio - 04.02.2016, 01:58
Re: Superhero Gamemode - by HeLiOn_PrImE - 04.02.2016, 03:13
Re: Superhero Gamemode - by SteSte - 04.02.2016, 12:06
Re: Superhero Gamemode - by Ritzy2K - 04.02.2016, 12:36
Re: Superhero Gamemode - by SteSte - 04.02.2016, 12:40
Re: Superhero Gamemode - by Mauzen - 04.02.2016, 23:18

Forum Jump:


Users browsing this thread: 1 Guest(s)