SA-MP Forums Archive
Superhero Gamemode - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Superhero Gamemode (/showthread.php?tid=600107)



Superhero Gamemode - SteSte - 03.02.2016

Does anyone know how to create a superhero gamemode


Re: Superhero Gamemode - Crystallize - 04.02.2016

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);
}



Re: Superhero Gamemode - Cypress - 04.02.2016

Quote:
Originally Posted by Wizzard2H
Посмотреть сообщение
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);
}
Gotta admit, that's very creative.


Re: Superhero Gamemode - Luis- - 04.02.2016

That's a really great gamemode.


Re: Superhero Gamemode - Rufio - 04.02.2016

Quote:
Originally Posted by Wizzard2H
Посмотреть сообщение
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);
}
You shouldn't have given this gamemode away. Could have just sold it. It is pretty amazing.


Re: Superhero Gamemode - HeLiOn_PrImE - 04.02.2016

Returning to the main topic here.
I remember Playing Counter Strike 1.6 on a Superhero server. That thing was off the hook.
If there wasn't a shitload of hacks you can use for sa-mp, a superhero gamemode would actually be a freakin' awesome idea.
Even with the hacks, if you let your imagination work for you, you could create some pretty damn awesome superpowers.


Re: Superhero Gamemode - SteSte - 04.02.2016

Quote:
Originally Posted by Wizzard2H
Посмотреть сообщение
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);
}
Thanks but I don't get it, if your showing me the code right now I don't see the powers in there,
Like all I see is it loads and a msg when he enters, I don't get it, where's everything



Re: Superhero Gamemode - Ritzy2K - 04.02.2016

Quote:
Originally Posted by Heroleo911003
Посмотреть сообщение
Thanks but I don't get it, if your showing me the code right now I don't see the powers in there,
Like all I see is it loads and a msg when he enters, I don't get it, where's everything
dude run this gamemode it works completely fine i tried it.


Re: Superhero Gamemode - SteSte - 04.02.2016

How does the gamemodes works then post me a video can you


Re: Superhero Gamemode - Mauzen - 04.02.2016

Quote:
Originally Posted by Heroleo911003
Посмотреть сообщение
How does the gamemodes works then post me a video can you
A complete video tutorial for that would run at least 50 hours.
Learn the basics, then learn the advanced basics, and then youll already know how to create such a gamemode.