04.06.2012, 15:00
i made a cmd and i dont know how to add the so if hes admin level 1 = moderator get it and so on..how do i add?the cmd is good i cant post it1
i made a cmd and i dont know how to add the so if hes admin level 1 = moderator get it and so on..how do i add?the cmd is good i cant post it1
|
if(IsPlayerIsModerator[playerid] == 1) // this is example xd
{
//your code
}else SendClientMessage(playerid,-1,"You are not moderator");
new title;
switch(admin-level-variable)
{
case 1:
title = "Moderator"; //Set title
break;
case 2:
case 3:
case 4:
title = "Administrator";
break;
case 5:
title = "Owner";
break;
default:
title = "N/A";
}