SA-MP Forums Archive
Help - 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: Help (/showthread.php?tid=418013)



Help - Superpocok - 23.02.2013

My code doesn't working and I am wondering why

f(PlayerInfo[playerid][pAdmin] = 1)
{
SendClientMessage(playerid, COLOR_RED, "You are now admin");
}


Re: Help - Mystique - 23.02.2013

Quote:
Originally Posted by Superpocok
Посмотреть сообщение
My code doesn't working and I am wondering why
Код:
if(PlayerInfo[playerid][pAdmin] == 1)
{
	SendClientMessage(playerid, COLOR_RED, "You are now admin");
	}
Fixed.