unknown cmd
#1

Код:
CMD:addstore(playerid,params[])
{
	new cid,id,inter,Float:x,Float:y,Float:z;
	if(admin[playerid]!=4) return SendClientMessage(playerid,red,"You cannot use this command.");
	if(sscanf(params,"i",id)) return SendClientMessage(playerid,red,"USAGE:/addstore [id]");
	inter=GetPlayerInterior(playerid);
	GetPlayerPos(playerid,x,y,z);
	cid=CreateDynamicCP(x,y,z,1.0,-1,-1,-1,10);
	sshops[cid]=id;
	return 1;
}
everything seems fine except it says unknown cmd ig but stil makes the cp :S. also the cp doesnt respond.
Reply


Messages In This Thread
unknown cmd - by THE_KNOWN - 28.02.2011, 11:44
Re: unknown cmd - by maramizo - 28.02.2011, 12:03
Re: unknown cmd - by THE_KNOWN - 28.02.2011, 12:18
Re: unknown cmd - by THE_KNOWN - 28.02.2011, 16:21
Re: unknown cmd - by Mike Garber - 28.02.2011, 16:33
Re: unknown cmd - by THE_KNOWN - 28.02.2011, 16:37
Re: unknown cmd - by Mike Garber - 28.02.2011, 16:39
Re: unknown cmd - by THE_KNOWN - 28.02.2011, 16:54
Re: unknown cmd - by THE_KNOWN - 01.03.2011, 14:54

Forum Jump:


Users browsing this thread: 1 Guest(s)