HOLA AMIGO YO KISIERA SABER COMO SE PONEN LOS FS.
KISIERA SABER COMO SE PONE ESTE FS:
CODIGO:
#include <a_samp>
//Kills Nesesarios
#define Multikills 3
#define Ultrakills 5
#define Asesino 8
#define Arrasador 12
#define Dios 20
#define COLOR_GREEN 0x33AA33AA
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Kills Counter Por BRY4N v1.0");
print("---(Ideal Para: DM)-------------------\n");
return 1;
}
new kills[MAX_PLAYERS];
new pname[24];
new string[256];
public OnPlayerSpawn(playerid)
{
kills[playerid]=0;
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
kills[killerid]++;
if(kills[killerid]==Multikills) {
GetPlayerName(killerid,pname,24);
format(string,256,"-- %s esta Multikill! (+500)",pname);
SendClientMessageToAll(COLOR_GREEN,string);
GivePlayerMoney(killerid,500);
}
if(kills[killerid]==Ultrakills) {
GetPlayerName(killerid,pname,24);
format(string,256,"-- %s esta Ultrakill! (+1000)",pname);
SendClientMessageToAll(COLOR_GREEN,string);
GivePlayerMoney(killerid,1000);
}
if(kills[killerid]==Asesino) {
GetPlayerName(killerid,pname,24);
format(string,256,"-- %s esta Asesino!!! (+1500)",pname);
SendClientMessageToAll(COLOR_GREEN,string);
GivePlayerMoney(killerid,1500);
}
if(kills[killerid]==Arrasador) {
GetPlayerName(killerid,pname,24);
format(string,256,"-- %s esta Arrasando!!! (+2000)",pname);
SendClientMessageToAll(COLOR_GREEN,string);
GivePlayerMoney(killerid,2000);
}
if(kills[killerid]==Dios) {
GetPlayerName(killerid,pname,24);
format(string,256,"-- %s es Dios!!!!! (+2500)",pname);
SendClientMessageToAll(COLOR_GREEN,string);
GivePlayerMoney(killerid,2500);
}
return 1;
}
PORFAVOR AYUDAAA
KISIERA SABER COMO SE PONE ESTE FS:
CODIGO:
#include <a_samp>
//Kills Nesesarios
#define Multikills 3
#define Ultrakills 5
#define Asesino 8
#define Arrasador 12
#define Dios 20
#define COLOR_GREEN 0x33AA33AA
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Kills Counter Por BRY4N v1.0");
print("---(Ideal Para: DM)-------------------\n");
return 1;
}
new kills[MAX_PLAYERS];
new pname[24];
new string[256];
public OnPlayerSpawn(playerid)
{
kills[playerid]=0;
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
kills[killerid]++;
if(kills[killerid]==Multikills) {
GetPlayerName(killerid,pname,24);
format(string,256,"-- %s esta Multikill! (+500)",pname);
SendClientMessageToAll(COLOR_GREEN,string);
GivePlayerMoney(killerid,500);
}
if(kills[killerid]==Ultrakills) {
GetPlayerName(killerid,pname,24);
format(string,256,"-- %s esta Ultrakill! (+1000)",pname);
SendClientMessageToAll(COLOR_GREEN,string);
GivePlayerMoney(killerid,1000);
}
if(kills[killerid]==Asesino) {
GetPlayerName(killerid,pname,24);
format(string,256,"-- %s esta Asesino!!! (+1500)",pname);
SendClientMessageToAll(COLOR_GREEN,string);
GivePlayerMoney(killerid,1500);
}
if(kills[killerid]==Arrasador) {
GetPlayerName(killerid,pname,24);
format(string,256,"-- %s esta Arrasando!!! (+2000)",pname);
SendClientMessageToAll(COLOR_GREEN,string);
GivePlayerMoney(killerid,2000);
}
if(kills[killerid]==Dios) {
GetPlayerName(killerid,pname,24);
format(string,256,"-- %s es Dios!!!!! (+2500)",pname);
SendClientMessageToAll(COLOR_GREEN,string);
GivePlayerMoney(killerid,2500);
}
return 1;
}
PORFAVOR AYUDAAA