Sly's God-Mode System -
GShock - 06.07.2014
Sly's God Mode System v1.1
Info
You can use the command /god to turn it on/off.
When turned on the player will never die.
It also shows a ChatBubble on top of the player's name if the God-Mode is on.
You will need ZCMD command processor to use this. (You can change it)
No bugs have been found till now. If you find some, please post it here so i can fix it
This is my second release. Hope you all like it! Thanks
Download
PasteBin
Just copy this to your gamemode
v1.2 [Recommended]
+ Changed 'SetPlayerChatBubble' to a 3DTextLabel
+ Your previous weapons saves when you enable the god-mode and loads it when you disable it.
PasteBin
(Also on attachments)
Re: Godmode System. -
Ciandlah - 06.07.2014
OMG THIS IS SOO COOL I NEVER KNEW HOW TO DO THIS MAN OMG YOU A LIFE SAVER
LOL NOT - TO EASY TO MAKE
but good attempt
Re: Godmode System. -
Kyance - 06.07.2014
pawn Код:
public OnPlayerConnect(playerid)
{
new pname[MAX_PLAYER_NAME], string[256];
GetPlayerName(playerid, pname, sizeof(pname));
format(string, sizeof(string), "{ff0000}%s {c0c0c0}has joined the server.", pname);
SendClientMessage(playerid, COLOR_WHITE, "{FF0000}*** {ff2660}Welcome to {00FF99}:: {ff2660}"SERVER_NAME" {FF0000}***");
SendClientMessage(playerid, COLOR_WHITE, "{e5e5e5} Sly's God-Mode system is being used in this server.");
return 1;
}
Why's the string size 256.
You can use -1 instead of COLOR_WHITE
There will be 2 join messages now. ( filterscript and gamemode )
If someone does /god on and off, the chat bubble would still the there i guess..
Re: Godmode System. -
iFarbod - 06.07.2014
This script is just an attempt to show credits just.
Re: Godmode System. -
Parallex - 06.07.2014
I agree with iFarbod.
Also, well, I think you can't script, really you can't, because that all looks like copied. Why the heck would you put the message if a player connects? It is done already by all servers, you must've copied few parts you think are of the God Mode system and pasted them into a Filterscript and released it. You could've just scripted yourself, this is too easy to script..
Re: Godmode System. -
GShock - 06.07.2014
I forgot to add...
'Just copy this to your game-mode'
Problem for 2 connect messages solved.
Re: Godmode System. -
NoahF - 06.07.2014
Quote:
Originally Posted by iFarbod
This script is just an attempt to show credits just.
|
My thoughts exactly. Too easy of a script!
Re: Godmode System. -
FahadKing07 - 06.07.2014
Quote:
Originally Posted by NoahF
My thoughts exactly. Too easy of a script!
|
Isn't that too much ? We know that he is beginner at scripting so he is trying to get up at scripting by scripting simple things and releasing. It is better to appreciate him instead of showing off!
Re: Godmode System. -
iFarbod - 06.07.2014
Quote:
Originally Posted by FahadKing07
Isn't that too much ? We know that he is beginner at scripting so he is trying to get up at scripting by scripting simple things and releasing. It is better to appreciate him instead of showing off!
|
I'm agree, but with crediting himself??
I Think it isn't good for a regular player (not scripter) to know a server uses what.
Re: Godmode System. -
FahadKing07 - 06.07.2014
Quote:
Originally Posted by iFarbod
I'm agree, but with crediting himself??
I Think it isn't good for a regular player (not scripter) to know a server uses what.
|
Yes i know that. But its very clear whenever you will create anything in the beginning you will try to add your credit to let others know you are something. It happens usually with everyone.