[POMOC]Nekakav error

Započeo ChampaWasTaken, Februar 02, 2013, 15:32:06 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Zamijeni tu komandu ovom:

YCMD:padmin(playerid, params[], help)
{
#pragma unused help
if(!IsPlayerAdmin(playerid)) return SCM(playerid, red, "|FRESH INFO|{00CED1}Nisi ovlasten!");

new igrac, string[260], nivo;
if(!sscanf(params, "ui", igrac, nivo))
{
if(igrac != INVALID_PLAYER_ID)
{
if(nivo > 0 && nivo < 7)
{
PlayerInfo[igrac][pAdmin] = nivo;
new name[MAX_PLAYER_NAME];
GetPlayerName(igrac, name, sizeof(name));
new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(name));
format(string, sizeof(string), "{F81414}__________________________________\n{CCCC33}Promovirani ste na admin poziciju level: {FFFFFF} %d{CCCC33}\nVase ime {FFFFFF}%s\n{CCCC33}Promovirao vas je admin: %s\n{F81414}__________________________________",nivo,name, sendername);
ShowPlayerDialog(playerid, 6, DIALOG_STYLE_MSGBOX,"OBAVIJEST",string,"U redu","");
format(string, sizeof(string), "|FRESH INFO|{00CED1}Promovirao si na admin poziciju lv %d", nivo);
SCM(playerid, red, string);
SaveStats(igrac);
}
else return SCM(playerid, red, "|FRESH INFO|{00CED1}Ne idi ispod 0 i preko 6!");
}
else return SCM(playerid, red, "|FRESH INFO|{00CED1}Taj igrac nije online!");
}
else return SCM(playerid, red, "|FRESH INFO|{00CED1}Koristi: /padmin [ID/DioImena] [Nivo]");
return 1;
}


Varijabla u koju se sprema taj tekst je bila premala. :P

Last nick: Paradox

E hvala brt sad radi moze LOCK :D
Mislim dakle Boze
Na Zari sve i svasta