simple command ZCMD
#1

I want to have a simple command using ZCMD.

Command name:
/changemission

ZCMD:
CMD:changemission(playerid, params[])
{
here the code so hope you got it for me
}

So what it have to do is that if I say /changemission that it will send a RconCommand changemode like this:
SendRconCommand("changemode <input>"); so it will replace the <input> with your input. ( whatever you type in the chat.

So if I say for example: /changemission Deathmatch , that the command will be: SendRconCommand("changemode Deathmatch");

Hope you can help me!
Reply


Messages In This Thread
simple command ZCMD - by Fantje - 10.10.2015, 17:55
Re: simple command ZCMD - by Logic_ - 10.10.2015, 17:57
Re: simple command ZCMD - by Fantje - 10.10.2015, 17:59
Re: simple command ZCMD - by AbyssMorgan - 10.10.2015, 18:01
Re: simple command ZCMD - by Logic_ - 10.10.2015, 18:01
Re: simple command ZCMD - by SnG.Scot_MisCuDI - 10.10.2015, 18:08
Re: simple command ZCMD - by Galhardo - 10.10.2015, 18:10
Re: simple command ZCMD - by Fantje - 10.10.2015, 18:35
Re: simple command ZCMD - by Stinged - 10.10.2015, 19:16

Forum Jump:


Users browsing this thread: 2 Guest(s)