Hello! I have a problem! Attempting to make a command in the cmd but I do not know!
Код:
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;
}