ZCMD Questions
#5

i dont test this but Abagail methode is the best ^^

PHP код:
CMD:cmd1(playeridparams[])
{
    new 
targetid;
    if(
sscanf(params,"i"targetid)) return SendClientMessage(playerid, -1,"USAGE: /cmd1 [targetid] ");
    if(!
IsPlayerConnected(targetid)) return SendClientMessage(playerid, -1,"ERROR: Invalid targetid.");
    
cmd_cmd2(targetidparams);
    return 
1;
}
CMD:cmd2(playeridparams[])
{
    ....

Reply


Messages In This Thread
[******] ZCMD Questions - by Etolas - 01.03.2015, 19:23
Re: ZCMD Questions - by Evocator - 01.03.2015, 19:26
Re : ZCMD Questions - by Etolas - 01.03.2015, 19:34
Re: ZCMD Questions - by Abagail - 01.03.2015, 19:41
Re: ZCMD Questions - by Golf - 01.03.2015, 19:44
Re : ZCMD Questions - by Etolas - 01.03.2015, 20:24
Re : ZCMD Questions - by Etolas - 02.03.2015, 17:14
Respuesta: Re : ZCMD Questions - by !R1Ch@rD! - 03.03.2015, 01:34

Forum Jump:


Users browsing this thread: 1 Guest(s)