15.03.2010, 14:34
Ok, I wanna make an Admin only skin. I use seif admin in a FS. How would i define sAccounts in my Game Mode?
am example is some thing like this
if(PlayerInfo[playerid][pAdmin] < 1) { else KickPlayer[playerid] = 1; }
if (AccountInfo[playerid][AdminLevel] >= 5 || IsPlayerAdmin(playerid))
if (AccountInfo[playerid][AdminLevel] >= 5 || IsPlayerAdmin(playerid)) { else KickPlayer[playerid] = 1; }
(525) : error 036: empty statement
if(classid == 16) {if (IsPlayerSeifAdmin(playerid) >= 5 || IsPlayerAdmin(playerid)); GameTextForPlayer(playerid,"~R~Admin",5000,5);}
if(classid == 16) {
if (IsPlayerSeifAdmin(playerid) >= 5 || IsPlayerAdmin(playerid)) {
GameTextForPlayer(playerid,"~R~Admin",5000,5);
}
}