Use a command only once
#5

pawn Code:
#define MAX_DIALOGS_USED 10
new bool:DialogUsed[MAX_PLAYERS][MAX_DIALOGS_USED];

// Disalow a player to use the dialog 5 again:
DialogUsed[playerid][5] = true;

// Checking:
if(DialogUsed[playerid][5] == true) SendClientMessage(playerid, 0xFFFFFFFF, "You can't use the dialog 5 again!")
Reply


Messages In This Thread
Use a command only once - by EddD - 04.08.2014, 16:19
Re: Use a command only once - by xHanks - 04.08.2014, 16:22
Respuesta: Use a command only once - by EddD - 04.08.2014, 16:25
Respuesta: Use a command only once - by EddD - 04.08.2014, 16:45
Re: Use a command only once - by SickAttack - 04.08.2014, 17:03
Respuesta: Use a command only once - by EddD - 04.08.2014, 19:01
Re: Use a command only once - by Dignity - 04.08.2014, 19:10

Forum Jump:


Users browsing this thread: 1 Guest(s)