help with leaders - 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 with leaders (
/showthread.php?tid=70087)
help with leaders -
wordas - 22.03.2009
ok heres my code:
if (strcmp(cmd, "/leaders", true) == 0)
{
{
SendClientMessage(playerid, COLOR_GRAD1, "Leaderiai Prisijunge:");
for(new i = 0; i < MAX_PLAYERS; i++)
{
{
if(PlayerInfo[i][pLeader] == 1)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 256, "Faru Leaderis: %s", sendername);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
}
}
}
return 1;
}
but when i leave the game player dont see my nick anymore... a little help?
Re: help with leaders -
MenaceX^ - 22.03.2009
I just fixed this code a few hours ago.
Re: help with leaders -
StrickenKid - 22.03.2009
pawn Код:
tags are your best friend
Re: help with leaders -
neonas6661 - 22.03.2009
http://forum.sa-mp.com/index.php?topic=94739.0
does not work :/