How to tell pawno to do nothing?
#1

I have a piece of code:

CMD:god(playerid, params[])
{
if(playerinminigame[playerid] == 1)
{
SendClientMessage(playerid, -1, "You can't use any commands in a minigame.");
}
return 1;
}

I want to make it so if they're not in minigame they can use the command /god. In other words i want to tell pawno that if they're not any minigame it does nothing.
Reply


Messages In This Thread
How to tell pawno to do nothing? - by QatarKnight - 28.07.2013, 12:34
Re: How to tell pawno to do nothing? - by GuyYahood1 - 28.07.2013, 12:36
Re: How to tell pawno to do nothing? - by QatarKnight - 28.07.2013, 12:39
Re: How to tell pawno to do nothing? - by GuyYahood1 - 28.07.2013, 12:46
Re: How to tell pawno to do nothing? - by QatarKnight - 28.07.2013, 12:55
Re: How to tell pawno to do nothing? - by Konstantinos - 28.07.2013, 12:56
Re: How to tell pawno to do nothing? - by QatarKnight - 28.07.2013, 12:58
Re: How to tell pawno to do nothing? - by Konstantinos - 28.07.2013, 13:04
Re: How to tell pawno to do nothing? - by QatarKnight - 28.07.2013, 13:07
Re: How to tell pawno to do nothing? - by Binx - 28.07.2013, 13:24

Forum Jump:


Users browsing this thread: 2 Guest(s)