Jump to content
  • 0

Best Killer/Sistem WAR


Question

20 answers to this question

Recommended Posts

Posted

nu a cerut un script ci o metoda  :|

ce ar trebui sa faca acest "Best Killer" ?

Deci, sunt 2 aliante care fac un WAR aliantele sunt The Triads-LSV-Grove vs The Mafia-VLA-Ballas, la sfarsitul warului apare un score, si alianta cu cel mai mare scor castiga war-ul si primeste automat 50 drugs, 5000mats, 50000$, si eu vreau sa adaug langa Score, sa scrie si Best Killerul warului, adica cel ce a facut cele mai multe killuri in acest war.

EDIT: Ma poate ajuta cineva ?! :(

RPG.QGAMING.RO

Posted

la sfarsitul rundei apare un dialog? sau cum apare

ce GM e?

arata ce se executa la sfarsitul rundei,functie sau ce o fi  :undecided:

nu am de unde sa stiu ce ai tu in GM

Posted

[pawn]new Kills[MAX_PLAYERS];//global

//OnPlayerDeath

Kills[killerid]++;

//cand se termina war-ul sau altceva

new zaBest;

for(new i;i<MAX_PLAYERS;i++)

{

if(IsPlayerConnected(i))if(zaBest<Kills)zaBest=i;

}

new str[128],name[24];GetPlayerName(zaBest,name,24);

format(str,128,"Best Killer: %s ,kills:%d",name,Kills[zaBest]);

SendClientMessageToAll(~0,str);[/pawn]

Posted

Ma scuzati pentru dublu post , am bagat asta in gm si tot timpul imi arata best killer pe playerul cu id 0 , ma puteti ajuta?

Posted

Cateodata mai gresesc si eu :(

[pawn]new Kills[MAX_PLAYERS];//global

//OnPlayerDeath

Kills[killerid]++;

//cand se termina war-ul sau altceva

new zaBest;

for(new i;i<MAX_PLAYERS;i++)

{

if(IsPlayerConnected(i))if(Kills[zaBest]<Kills)zaBest=i;//e Kills[zabest] nu doar zabest

}

new str[128],name[24];GetPlayerName(zaBest,name,24);

format(str,128,"Best Killer: %s ,kills:%d",name,Kills[zaBest]);

SendClientMessageToAll(~0,str);[/pawn]

Posted

cum ati rezolvat faza cu id 0 ?

WOW .. Reinvii topicuri ce mama?? Ca eo vad ca ultimul Post din Aprilie .. mai Bine ai citi [shadow=red,left][glow=red,2,300]RELGUAMENTUL[/glow][/shadow]

[glow=red,2,300]DACA DORITI MAI MULTE INFORMATII VA ROG SA MA CONTACTATI !![/glow]

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.