DM Cmds
#3

Quote:
Originally Posted by Spartaaaaa
Посмотреть сообщение
Can anyone tell me how to close all commannds on race/dm
example: You are not in freeroam to use this command
Can anyone help me?
PHP код:
public OnPlayerCommandReceived(playeridcmdtext[])
{
    if(
PlayerInfo[playerid][InDM] == true)
    {
        
SendClientMessage(playeridRED"{FF0000}[ERROR]: {FFFFFF}You Cant Use cmds while in DM use /leavedm to use cmds again");
    }
    return 
1;

here is an example rep+ if i helped
edit: wait a minute this if you are using zcmd if not tell me i show u other example
Reply


Messages In This Thread
DM Cmds - by Spartaaaaa - 04.08.2014, 02:03
Re: DM Cmds - by Spartaaaaa - 04.08.2014, 02:29
Re: DM Cmds - by youssefehab500 - 04.08.2014, 02:30
Re: DM Cmds - by Spartaaaaa - 04.08.2014, 02:35
Re: DM Cmds - by youssefehab500 - 04.08.2014, 02:38
Re: DM Cmds - by Spartaaaaa - 04.08.2014, 02:39
Re: DM Cmds - by youssefehab500 - 04.08.2014, 02:42
Re: DM Cmds - by Spartaaaaa - 04.08.2014, 02:42
Re: DM Cmds - by youssefehab500 - 04.08.2014, 02:45
Re: DM Cmds - by Spartaaaaa - 04.08.2014, 02:47

Forum Jump:


Users browsing this thread: 1 Guest(s)