Exception Command
#1

Onplayercommandtext

if(PlayerData[playerid][NotLogged] == 1 && IsPlayerSpawned(playerid) == 1)
{
NMC(playerid,"[ ! ] You must log in before you can access any command !");
return 0;
}
if(PlayerData[playerid][NotLogged] == 1 && // here I want the command /login to be allowed to be written without recieving the other message what can I do ?)
{
return 1;
}
Reply
#2

Put your login command above the logged in check.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)