[Include] SSI(V1.2) - Simple Script Include V1.2 Beta Demo
#1

Hello again i introduce you my SSI v1.2 Beta Demo Version.
we added new stuff in our include more exciting + more useful functions

some new functions are for Admin System. i using some of my functions
on my admin system i hope you like my new functions!.

OLD FUNCTIONS:

Код:
Kill(playerid);
MessageToRcon(color,msg);
ChatLog(playerid,text);
New Functions (Available v1.2):

Код:
HealAll();
ArmourAll();
GiveAllGun(weaponid,ammo);
AddCBotText(botname,msg,color);
AddLeoKateMsg(msg, color);
Restart();
Heal(playerid);
Armour(playerid);
Код:
HealAll(); //will heal all players (useful for admin system)
- will heal all players 100% Test with GameText "Everyone has been healed" useful for Admin System

Код:
ArmourAll(); //will restore all players armour (useful for admin system)
- will restore all players 100% test with Gametext "Everyone's Armour has been restored!" useful for admin system

Код:
GiveAllGun(weaponid,ammo); //will give weapon to all players (useful for admin system???)
- will give all weapon to all players 100% test with Gametext "Weapon for Everyone!" useful for admin system

i knew you already see this on SBI - Simple Bot Include but however we need to explain all

Код:
AddCBotText(botname,msg,color);
- with this you can now create bot text without using new botname; this is first bot include
has been made here when you type AddCBotText("Colin","Never Mind dude",COLOR_RED);
it will send this "Colin: Never Mind dude" 100% test in this function. First Include Bot

Код:
AddLeoKateMsg(msg,color);
- with this Leo And Kate from Titanic Actors can now msg you via with this function.
when you type this, AddLeoKateMsg("Titanic is sad disaster",COLOR_RED); it will send
"Leo & Kate: Titanic is sad disaster" 100% test on this function. useful on fans of
Titanic - Jack (Leo) & Rose (Kate) Actors best function ever first titanic chat actors
had been made here in SAMP.

Код:
Restart(); //will restart the server useful for beginners no more SendRconCommand
- with this you can know restart the server without using SendRconCommand inside in
this function is SendRconCommand("gmx"); but this is the short version for GMX

Код:
Heal(playerid); //will heal the player useful for beginners no more setplayerhealth or useful for killstreaks
- with this you can know heal yourself without using SetPlayerHealth inside in this function
is SetPlayerHealth but this is the short version for the /heal

Код:
Armour(playerid); //will restore the armour of player useful for beginners no more setplayerarmour or useful for killstreaks
- with this you can know restore your armour without using SetPlayerArmour inside in this
function is SetPlayerArmour but this is the short version for /armour

Examples:

pawn Код:
CMD:GiveAllGun(playerid, params[])
{
   GiveAllGun(22,5000);
   return 1;
}

CMD:gmx(playerid, params[])
{
   Restart();
   return 1;
}

CMD:heal(playerid, params[])
{
   Heal(playerid);
   return 1;
}

CMD:armour(playerid, params[])
{
   Armour(playerid);
   return 1;
}

CMD:Testbot(playerid, params[])
{
   AddCBotText("Colin","What?",COLOR_RED);
   AddLeoKate("What?",COLOR_RED);
   return 1;
}

CMD:HealAll(playerid, params[])
{
   HealAll();
   return 1;
}

CMD:ArmourAll(playerid, params[])
{
   ArmourAll();
   return 1;
}
I post this thread 1 hour to explain all. btw i hope you like it
Have fun using my include

Link:

http://pastebin.com/5ax5kxWf
Reply


Messages In This Thread
SSI(V1.2) - Simple Script Include V1.2 Beta Demo - by GAMER_PS2 - 13.11.2011, 08:45
Re: SSI(V1.2) - Simple Script Include V1.2 Beta Demo - by SpiderWalk - 13.11.2011, 08:47
Re: SSI(V1.2) - Simple Script Include V1.2 Beta Demo - by GAMER_PS2 - 13.11.2011, 08:50

Forum Jump:


Users browsing this thread: 1 Guest(s)