Unknown Command
#1

Hey , i have this outside a callback ;
pawn Код:
dcmd_vbox(playerid, params[])
{
#pragma unused params
    if (Vip[playerid] < 1 ) {
        SendClientMessage(playerid, COLOR_CERVENA, "  [!] Only Vips can do that !");
    }
    else {
        if (Vip[playerid] >= 1) {
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    CreateObject(1685, x, y+2.0, z, 0.0, 0.0,0.0);

        }
    }
    return 1;
}
and this under public OnPlayerCommandText(playerid, cmdtext[])
pawn Код:
dcmd(vbox,11,cmdtext);
i complie without errors , but IG whene i type the command it says "Unknown Command"
anyone can help me ? thank you.
Reply


Messages In This Thread
Unknown Command - by ServerScripter - 21.02.2012, 09:52
Re: Unknown Command - by Konstantinos - 21.02.2012, 09:55
Re: Unknown Command - by ServerScripter - 21.02.2012, 10:00
Re: Unknown Command - by Konstantinos - 21.02.2012, 10:01
Re: Unknown Command - by Toreno - 21.02.2012, 10:02
Re: Unknown Command - by ServerScripter - 21.02.2012, 10:13
Re: Unknown Command - by Vince - 21.02.2012, 10:30
Re: Unknown Command - by Toreno - 21.02.2012, 11:32

Forum Jump:


Users browsing this thread: 1 Guest(s)