ZCMD Problem
#1

'eyhoo.

Some hours ago I downloaded ZCMD include and decided to try making something simple first. I tried doing a simple kick command but when I go In game it says Server: Unknown Command. Later on I tried just putting a command to print text "Test" even then it didn't worked.

Here's the code

Код:
CMD:kick(playerid,params[])
{
new targetid;
if(sscanf(params, "u", targetid)) return SendClientMessage(playerid, -1, "USAGE: /kick [playerid]");
else if(targetid==INVALID_PLAYER_ID) return SendClientMessage(playerid, -1, "Player is not connected.");
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You are not administrator");
Kick(targetid);
return 1;
}
And here's my includes
Код:
#include <a_samp>
#include <zcmd>
#include <sscanf2>
Reply


Messages In This Thread
ZCMD Problem - by Alexis1999 - 20.07.2012, 21:15
Re: ZCMD Problem - by ViniBorn - 20.07.2012, 22:31
Re : ZCMD Problem - by Sandiel - 21.07.2012, 00:48

Forum Jump:


Users browsing this thread: 1 Guest(s)