SA-MP Forums Archive
Need Good Help! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Need Good Help! (/showthread.php?tid=255672)



Need Good Help! - [Lsgw]LoL - 16.05.2011

i have done my first TDM gamemode but i need to do 2 more commands its /setkills /setdeaths i cant do it what is i need when i use /setkills change the kills to other players mean the stats! thanks all please hope you help me!


Re: Need Good Help! - [Lsgw]LoL - 17.05.2011

bump some help!


Re: Need Good Help! - Elbert_Hutchinson - 17.05.2011

PM me and I'll help you.


Re: Need Good Help! - Elka_Blazer - 17.05.2011

We need your varibales for that .

This forum requires that you wait 120 seconds between posts. Please try again in 40 seconds.


Re: Need Good Help! - [Lsgw]LoL - 17.05.2011

here is the command but its not work! when i do /setkill 0 1 its give me 50 kill not 1


Код:
dcmd_setkills(playerid,params[])
{
    if(Player[playerid][admin] < 3)return 0
    new pID, str[128], str1[128], str2[128], aname[24], pname[24], playerfile[100];
    new Kills = Player[pID][Kills];
    GetPlayerName(pID,pname,sizeof(pname));
    GetPlayerName(playerid,aname,sizeof(aname));
    format(playerfile,sizeof(playerfile),"Lsgw/Users/%s.ini",pname);
    if(!IsPlayerConnected(pID)) return 0
    if(sccanf(params,"us",pID,Kills) return SendClientMessage(playerid,COLOR_GREY,"|| Usage: /setkills [playerid] [kils] ||");
    dini_IntSet(playerfile,"Kills",Kills);
    return 1;
}