Variable Help
#6

I assume that the player can only use the command when he joins the server for the first time, right? If so refer to the code below, otherwise explain more about it, and how you would like it.

pawn Код:
new bool:TutorialPermission[MAX_PLAYERS] = false;

// OnPlayerRegister:
TotutialPermission[playerid] = true;

// Command "/startcareer":
if(TotutialPermission[playerid] == false) return SendClientMessage(playerid, 0xFFFFFFFF, "You can't use this command anymore.");
TotutialPermission[playerid] = false;
Reply


Messages In This Thread
Variable Help - by McBan - 29.07.2014, 21:28
Re: Variable Help - by youssefehab500 - 29.07.2014, 21:32
Re: Variable Help - by McBan - 29.07.2014, 21:35
Re: Variable Help - by youssefehab500 - 29.07.2014, 21:40
Re: Variable Help - by ThePhenix - 29.07.2014, 21:41
Re: Variable Help - by SickAttack - 29.07.2014, 21:41
Re: Variable Help - by Don_Cage - 29.07.2014, 21:58
Re: Variable Help - by DaniceMcHarley - 29.07.2014, 22:01
Re: Variable Help - by sammp - 29.07.2014, 22:24

Forum Jump:


Users browsing this thread: 1 Guest(s)