How to create command /san
#3

Quote:
Originally Posted by mineralo
Посмотреть сообщение
pawn Код:
if(!strcmp(cmd,"/san",true))
{
new tmp[256];
tmp = strtok(cmdtext,idx);
if(!strlen(tmp) || !IsNumeric(tmp)) return scm(playerid,-1,"/san <id>");
new id = strval(tmp);
if(!IsPlayerConnected(id)) return scm(playerid,-1,"This Players Isn't Connected !");
SetPlayerPos(id,x,y,z);// change yourself
return 1;
}
I use ZCMD Help me please. I don't know how to pass it to a ZCMD command.
Reply


Messages In This Thread
How to create command /san - by RiChArD_A - 26.01.2013, 21:06
Re: How to create command /san - by mineralo - 26.01.2013, 21:29
Respuesta: Re: How to create command /san - by RiChArD_A - 29.01.2013, 03:11
Re: How to create command /san - by Threshold - 29.01.2013, 03:14
Respuesta: Re: How to create command /san - by RiChArD_A - 29.01.2013, 03:16
Re: How to create command /san - by Threshold - 29.01.2013, 03:19
Respuesta: How to create command /san - by RiChArD_A - 29.01.2013, 03:32
Re: Respuesta: Re: How to create command /san - by Dolph - 29.01.2013, 08:00
Re: How to create command /san - by Mean - 29.01.2013, 08:04
Re: How to create command /san - by Threshold - 29.01.2013, 10:59

Forum Jump:


Users browsing this thread: 1 Guest(s)