Help Dj please :)
#1

can any one tell me /djs cmd code i cant create /djs it will show online dj and also i create dj system but i cant create this cmd /djs please help

and sorry for my bad english...
Reply
#2

OK...

First of all, be more specific! xD
Reply
#3

so please share the code i will REP +
Reply
#4

please help
Reply
#5

Are you using a dj system, or what? Tell us more details, we aren't wizards.
Reply
#6

Go back to the index page, click on the subforum that supports your language.
Give it a try and seek for your answer there.

You are not able to script, either you go check out some tutorials or either stick to playing servers instead of scripting one. This section is not ment to request scripts at all.


To answer your question:
Use the foreach plugin. (Optional: ZCMD)

Код:
	
CMD:djs(playerid, params[])
{
    if(PlayerInfo[playerid][pDJ] > 0)
    {
        SendClientMessage(playerid, COLOR_ORANGE, "DJ's Online:");
        foreach(Player, i)
	{
		if (PlayerInfo[i][pDJ] > 0)
		{
	                format(string, sizeof(string), "%s", GetPlayerName(i));
	                SendClientMessage(playerid, COLOR_WHITE, string);
		}
	}
     }
     return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)