a help with this cmd - 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)
+--- Thread: a help with this cmd (
/showthread.php?tid=507471)
a help with this cmd -
KillerStrike23 - 17.04.2014
hey all I have an admin system like this [KsLevel] its for donators, so please if someone could help to create a cmd to show online ks donators like the cmd admins with ranks its consist of 8 donators ranks as shoawn here:
case 1:
{
Rank = "Newest Member";
}
case 2:
{
Rank = "Junior Member";
}
case 3:
{
Rank = "Executive Member";
}
case 4:
{
Rank = "Senior Member";
}
case 5:
{
Rank = "Head Member";
}
case 6:
{
Rank = "Lieutenant";
}
case 7:
{
Rank = "General";
}
case 8:
{
Rank = "Leader";
}
Re: a help with this cmd -
Mattakil - 17.04.2014
pawn Код:
CMD:donators(playerid)
{
foreach(new i: Player)
{
if(PlayerInfo[i][KsLevel] == 1)
{
//make a string here to get the name of "i", then send it to the player in a message
}
}
return 1;
}