[Include] Simple Script Include (SSI)
#1

Hello i introduce you my first simple script include
the name of include is SSI (Simple Script Include)
on next version the name would be change
the include function is for beginners. Any idea
for function on include? PM Me!

Heres what the include can do:

pawn Код:
MessageToRcon(color,msg); //Will sent msg to RCON Admins
Kill(playerid); //Will kill yourself just like SetPlayerHealth(playerid, 0);
ChatLog(playerid, text); //Will save the chat on Server/Logs/ - Credits to System64
GetName(playerid) //Theres no special here this is for ChatLog Function - Credits to System64
Examples:

pawn Код:
ChatLog(playerid, text); //Will save in Server/Logs/
   
if(text[0] == '!' && IsPlayerAdmin(playerid) && strlen(text[1]))
{
     new string[128];
     new RCONNAME[MAX_PLAYER_NAME];
     GetPlayerName(playerid,RCONNAME,MAX_PLAYER_NAME);
     format(string,sizeof(string),"RCON Leader Chat: %s: "white"%s",string,text[1]); //Chat Format
     MessageToRcon(COLOR_RED,string); //Will sent to RCON Admins
}
pawn Код:
CMD:kill(playerid, params[])
{
    Kill(playerid); //Will set your health to 0
    return 1;
}
Hope you like it. useful for beginners.
you can modify it but credits to me

Link:

http://pastebin.com/uAmeLW6T

UPDATE:

Link is update edited. sorry for mistakes
What should i name for Simple Script Include
i cant take any name because some of name of include is taken
Reply


Messages In This Thread
Simple Script Include (SSI) - by GAMER_PS2 - 06.11.2011, 07:27
Re: Simple Script Include (SSI) - by Lorenc_ - 06.11.2011, 07:48
Re: Simple Script Include (SSI) - by [HiC]TheKiller - 06.11.2011, 08:13
Re: Simple Script Include (SSI) - by wups - 06.11.2011, 08:14
Re: Simple Script Include (SSI) - by GAMER_PS2 - 06.11.2011, 08:42
Re: Simple Script Include (SSI) - by Speed - 06.11.2011, 08:51
Re: Simple Script Include (SSI) - by System64 - 06.11.2011, 08:52
Re: Simple Script Include (SSI) - by GAMER_PS2 - 06.11.2011, 09:04
Re: Simple Script Include (SSI) - by Danice Ton - 06.11.2011, 09:27
Re: Simple Script Include (SSI) - by GAMER_PS2 - 06.11.2011, 09:37

Forum Jump:


Users browsing this thread: 1 Guest(s)