06.11.2011, 07:27
(
Последний раз редактировалось GAMER_PS2; 06.11.2011 в 08:50.
)
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:
Examples:
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
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
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;
}
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