31.01.2012, 18:22
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:
I ask someone to do this command in CMD! Thxx!
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; }