[Help]/napravistan
#1

Hello! I have a problem! Attempting to make a command in the cmd but I do not know!
I want to switch from zcmd command in cmd and this is the command:
Код:
CMD:makestan(playerid,params[])
{
     if(GetPVarInt(playerid, "AdminLvl") >= 1338)
	{
		new opcija,opcija1;
 		if (sscanf(params, "dd", opcija,opcija1)) SCM(playerid, COLOR_WHITE, "Koristenje: /makestan [int] [cijena]");
 		else
 		{
			new Float:PpS[3];
			GetPlayerPos(playerid, PpS[0],PpS[1],PpS[2]);
 		    MakeStanFnc(playerid,opcija,opcija1,PpS[0],PpS[1],PpS[2]);
		}
	}else{SCM(playerid, COLOR_LIGHTRED, "[XDRIVE]: Niste autorizirani!");}
	return 1;
}
I ask someone to do this command in CMD! Thxx!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)