Help with admin levels!
#1

I made a command with my tcash script trying to make it with my aLevel (admin level) thing but it's not working. It saves my admin level but when i make new acc and do only admin commands it does it for anybody!

Код:
	if(strcmp("/givemetcash", cmdtext, true) == 0)
	{
	 	if(PlayerInfo[playerid][aLevel] = 0) return SendClientMessage(playerid, red, "You are not an admin");

		GivePlayerTcash(playerid, 1000000);

		SendClientMessage(playerid, green, "You got 1 million Tcash!");
		return 1;
	}

Reply


Messages In This Thread
Help with admin levels! - by coole210 - 07.06.2009, 00:39
Re: Help with admin levels! - by [CK]Steel - 07.06.2009, 03:01
Re: Help with admin levels! - by [HiC]TheKiller - 07.06.2009, 04:45
Re: Help with admin levels! - by [CK]Steel - 07.06.2009, 11:34
Re: Help with admin levels! - by [HiC]TheKiller - 08.06.2009, 00:38

Forum Jump:


Users browsing this thread: 2 Guest(s)