[Help]Hs In Stats And /seths cmd
#1

Guys This is a Little Big work
I have Horseshoe system of LuxAdmin In Which When A player Collects 30 Hs He Should Get a Vip lvl 1 free
ok now the prob is when a player directly collects last hs he gets a vip i want it should be in order
The HorseShoe Are Pickups Which I made Already

2> I want Horseshoe In Stats /stats of luxadmin

3>/seths in which we can set horseshoe of a player

PLZ HELP ME
HELP
Reply
#2

Can't you just do it yourself?

just ask for help when you get error when trying to do the scripting.
Reply
#3

You can make /seths command in admin script just like /givemoney. Just look how to make /givmoney command.
Reply
#4

@dragonster I made Horseshoe pickups and now i need that when a player collects LAST HORSESHOE He should not get vip lvl 1he should collect all hs in order then only he/she gets a vip lvl 1 free

And in /stats also i tryed it doesnot works


And like if he collects 1 hs [1st hs] he will get in stats
horseshoe = 1
and 2nd
horseshoe = 2
Reply
#5

Did you include horshoe in /stats?
Reply
#6

yes see this
pawn Код:
dcmd_stats(playerid,params[])
{
    new string[128];
    new pDeaths;
    new player1, h, m, s;
    new Horseshoe;
   
    if(!strlen(params)) player1 = playerid;
    else player1 = strval(params);

    if(IsPlayerConnected(player1))
    {
    TotalGameTime(player1, h, m, s);
    if(AccInfo[player1][Deaths] == 0) pDeaths = 1;
    else pDeaths = AccInfo[player1][Deaths];
    format(string, sizeof(string), "|- %s's Statistics -|",PlayerName2(player1));
    SendClientMessage(playerid, green, string);
    format(string, sizeof(string), "Kills: [%d] | Horseshoe:%d | Deaths: [%d] | Ratio: [%0.2f] | Money: [$%d] | Time: [%d] hrs [%d] mins [%d] secs |", AccInfo[player1][Kills],Horseshoe, AccInfo[player1][Deaths],Float:AccInfo[player1][Kills]/Float:pDeaths,GetPlayerMoney(player1), h, m, s);
    return SendClientMessage(playerid, green, string);
    }
    else return SendClientMessage(playerid, red, "ERROR: Player Not Connected!");
}
Reply
#7

Help Plz Plz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)