SA-MP Forums Archive
Help Me pls :[ - 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: Help Me pls :[ (/showthread.php?tid=69516)



Help Me pls :[ - neonas6661 - 18.03.2009

I need the command '/ leaders' signature player and he shows all the leaders of the server, use the
/makeleader and just use the "/leaders" see a new leader Nick .. Please help!



Re: Help Me - MenaceX^ - 18.03.2009

http://forum.sa-mp.com/index.php?topic=63519.0


Re: Help Me - neonas6661 - 18.03.2009

there is no such script..


Re: Help Me - Dujma - 18.03.2009

Quote:
Originally Posted by neonas6661
there is no such script..
Maybe read the subject of topic?


Re: Help Me - neonas6661 - 18.03.2009

maybe you can give towards the Link?
because I have not find


Re: Help Me - LarzI - 18.03.2009

post in script request, as menace tried to show you how


Re: Help Me - Google63 - 18.03.2009

Using for loop


Re: Help Me - LarzI - 18.03.2009

Ok I will make it for you, I'm feeling kind tonight xD

pawn Код:
if(!strcmp(cmdtext, "/leaders", true))
{
    new str[128];
    for(new i=0; i<MAX_PLAYERS; i++)
    {
        if(i == leaderVariable && IsPlayerConnected(i)) //Check if i is equal to the leader variable for players, change to correct variable name
        {
            format(str, 128, "%s(&d)", pname, i);
        } //If there are no leaders connected
        format(str, 128, "There are no leaders connected!");
    }
    return SendClientMessage(playerid, COLOR_YELLOW, str);
}
Should work


Re: Help Me - neonas6661 - 19.03.2009

Does not work, I need the signature / leaders would show all the leaders to account for the server through
/makeleader


Re: Help Me - neonas6661 - 19.03.2009

goes as follows: Signature / leaders, and I suggest: medical leader of the appointed time, [name] ..


my server leaders is:

Код:
if(level == 0) { PlayerInfo[para1][pChar] = 0; PlayerInfo[para1][pRank] = 0; gTeam[para1] = 3; PlayerInfo[para1][pTeam] = 0; return 1; }
						else if(level == 1) { PlayerInfo[para1][pChar] = 288; } //Police Force
						else if(level == 2) { PlayerInfo[para1][pChar] = 286; } //FBI/ATF
						else if(level == 3) { PlayerInfo[para1][pChar] = 287; } //National Guard
						else if(level == 4) { PlayerInfo[para1][pChar] = 187; } //Fire/Ambulance
						else if(level == 5) { PlayerInfo[para1][pChar] = 175; } //Surenos
						else if(level == 6) { PlayerInfo[para1][pChar] = 113; } //La Cosa Nostra
						else if(level == 7) { PlayerInfo[para1][pChar] = 147; } //Mayor
						else if(level == 8) { PlayerInfo[para1][pChar] = 20; } //Hitmans
						else if(level == 9) { PlayerInfo[para1][pChar] = 185; } //News Reporters
						else if(level == 10) { PlayerInfo[para1][pChar] = 187; } //Taxi Cab Company
						else if(level == 11) { PlayerInfo[para1][pChar] = 171; } //Driving/Flying School
						else if(level == 14) { PlayerInfo[para1][pChar] = 120; } //Yakuza
						else if(level == 15) { PlayerInfo[para1][pChar] = 271; } //47th Street Saints Families
						else if(level == 16) { PlayerInfo[para1][pChar] = 19; } //East Side Bloods