God Mode
#1

Make This Code Then Compile It And Put It In " Sampserver/filterscripts"
Код:
#include <a_samp>
#include <zcmd>
This Files That We Use To Starting A Simple Script , If You Haven't ZCMD you can't Do That Script.
Код:
public OnFilterScriptInit()
{
    print("--------------------");
    print("Mrsas Godmode   ");
    print("--------------------");
    return 1;
}
When You Start Your Server You Will See This As "Credits"
Код:
public OnFilterScriptExit()
{
    return 1;
}
Really , Not Needed This Time, It Appears If You Did " /rcon unloadfs "name" "
Код:
CMD:god(playerid, params[])
{
    SetPlayerHealth(playerid, 1000);
    SetPlayerColor(playerid, 0xffff); // blue Color ..... >:/
    SetPlayerArmour(playerid, 1000);
    SetPlayerSkin(playerid, 0); // Cj >:)
    GivePlayerWeapon(playerid, 37, 500); // Minigun + Godmode O.o?!
    return 1;
}
That Is The Command That You Type In Game " /god " And We Defined It By " ZCMD ", " SetPlayerHealth" It Used To Sed The Players Health , -1 = Dead, 1000 = Infinite, 100 = Just Heal the player, "SetPlayerArmour" Setting Player's Armour -1 = No Armour, 100 = full armour, 1000 = infinite, "SetPlayerColor" It Sets The Player's Color To blue Or Any color you want " oxffff = blue , 0xfffff = black , " SetPlayerSkin " Just Changing The Skin Of the " Player " Where , 0 = default , 12 = girl , 87 = hot girl O.o, 34 = cowboy" you can find more at : wiki.sa-mp.com , "GivePlayerWeapon" Giving The Player's Any Weapon , Must Add An ID!.

Full Code:
Код:
#include <a_samp>
#include <zcmd>

public OnFilterScriptInit()
{
    print("--------------------");
    print("Mrsas Godmode   ");
    print("--------------------");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

CMD:god(playerid, params[])
{
    SetPlayerHealth(playerid, 1000);
    SetPlayerColor(playerid, 0xffff); // blue Color ..... >:/
    SetPlayerArmour(playerid, 1000);
    SetPlayerSkin(playerid, 0); // Cj >:)
    GivePlayerWeapon(playerid, 37, 500); // Minigun + Godmode O.o?!
    return 1;
}
That Tutorial Shows You How To Make A Simple [ Godmode ] Script.
Reply
#2

I believe this is in the wrong section.
Reply
#3

No. >
Reply
#4

Then what do you need help with and why does it say "That Tutorial Shows You How To Make A Simple [ Godmode ] Script"?
Reply
#5

As A Help Mod , You Can't Tell Me What I Do, Leave The Topic Man.
Reply
#6

Quote:
Originally Posted by MRSAS
Посмотреть сообщение
As A Help Mod , You Can't Tell Me What I Do, Leave The Topic Man.
It appears that you don't want to be helped, thus I shall cease to help you. May I just point out that you are no 'Help Mod'.
Reply
#7

PHP код:
#define HD (Float:0x7FFFFFFF) 
 
SetPlayerHealth(playeridHD); 
Reply
#8

it can be :
Код:
#define GOD(Float:0x7FFFFFFF)  
 SetPlayerHealth(playerid, GOD);
Anyway thanks
Reply
#9

Quote:
Originally Posted by donsta3000
Посмотреть сообщение
It appears that you don't want to be helped, thus I shall cease to help you. May I just point out that you are no 'Help Mod'.
Ok, Thanks :P.
Reply
#10

This is in the wrong section and it's also a coding mess. Nothing is explained.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)