About zcmd!!!
#1

Hey,

I am real tired about this sh*t!, I have created a lot of commands with ZCMD, without any errors or anything. But it will never work ingame!!!! All time when I type ingame a command, I will see the message: SERVER:UNKNOWN COMMAND.

It makes me tired, its anoying, do anyone know why it never works by me?

Here are some examples of my command..

PHP код:
CMD:disarm(playeridparams[])
{
    new 
str[128], id;
    if(
PlayerAcc[playerid][Log] == 0) return SendClientMessage(playeridCOLOR_ORANGE"You are not logged in, please login first.");
    if(
PlayerAcc[playerid][Admin] >= 2)
    {
        if(
sscanf(params"u"id)) return SendClientMessage(playeridCOLOR_ORANGE"You must be type /disarm <playerid>");
        if(
id == INVALID_PLAYER_ID) return ErrorMessages(playerid2);
        if(
PlayerAcc[playerid][Admin] < PlayerAcc[id][Admin]) return ErrorMessages(playerid3);
        
ResetPlayerWeapons(id);
        
format(strsizeof(str), "You have succesfully disarmed %s(ID:%d)"GetName(id), id);
        
SendClientMessage(playeridCOLOR_YELLOWstr);
        
format(strsizeof(str), "Admin %s(ID:%d) disarmed you."GetName(playerid), playerid);
        
SendClientMessage(idCOLOR_REDstr);
    }
    else return 
ErrorMessages(playerid6);
    return 
1;

Hope anyone can give me more info about this,..

Thanks
Reply


Messages In This Thread
About zcmd!!! - by mickos - 29.12.2012, 12:04
Re: About zcmd!!! - by Huxley - 29.12.2012, 12:14
Re: About zcmd!!! - by mickos - 29.12.2012, 12:19
Re: About zcmd!!! - by Huxley - 29.12.2012, 12:22
Re: About zcmd!!! - by mickos - 29.12.2012, 12:23
Re: About zcmd!!! - by Huxley - 29.12.2012, 12:25
Re: About zcmd!!! - by JaKe Elite - 29.12.2012, 12:30
Re: About zcmd!!! - by [HiC]TheKiller - 29.12.2012, 12:31
Re: About zcmd!!! - by mickos - 29.12.2012, 12:49

Forum Jump:


Users browsing this thread: 6 Guest(s)