View Full Version : [Help]Hs In Stats And /seths cmd

09/10/2011, 05:57 AM
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


09/10/2011, 06:11 AM
Can't you just do it yourself?

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

09/10/2011, 06:20 AM
You can make /seths command in admin script just like /givemoney. Just look how to make /givmoney command.

09/10/2011, 06:30 AM
@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

09/10/2011, 06:33 AM
Did you include horshoe in /stats?

09/10/2011, 06:35 AM
yes see this

new string[128];
new pDeaths;
new player1, h, m, s;
new Horseshoe;

if(!strlen(params)) player1 = playerid;
else player1 = strval(params);

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!");

09/10/2011, 07:18 AM
Help Plz Plz