Jump to content
  • 0

Comanda


eXtreMe96

Question

5 answers to this question

Recommended Posts

Uite aici. Daca are ceva erori fa un reply cu ele ca nu am testat comanda.

if(strcmp(cmd, "/vips", true) == 0)
{
	new cout=0;
	SendClientMessage(playerid, green, "________________________________________");
	for(new i=0; i<MAX_PLAYER; i++)
	{
	    if(IsPlayerConnected(i))
	    {
			GetPlayerName(i, adminname, sizeof(adminname));
			format(string, 256, "VIP: %s [ID %d]", adminname,i);
			count++;
		}
	}
	if(count == 0) SendClientMessage(playerid, blue, "Found no VIP`s online");
	SendClientMessage(playerid, green, "________________________________________");
    return 1;
}

Link to comment
Share on other sites

C:\Documents and Settings\Àäìèíèñòðàòîð\Ãàáî÷èé ñòîë\Ãîâàÿ ïàïêà (3)\gamemodes\SGM.pwn(2243) : error 017: undefined symbol "adminname"

C:\Documents and Settings\Àäìèíèñòðàòîð\Ãàáî÷èé ñòîë\Ãîâàÿ ïàïêà (3)\gamemodes\SGM.pwn(2243) : error 017: undefined symbol "adminname"

lol

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.