Bugged command.
#3

Quote:
Originally Posted by AlexuTzVs
Посмотреть сообщение
you have setted that "if(pData[playerid][pAdmin] >= 1 && IsPlayerConnected(i)) admincount++;"
maybe,

Код:
if(pData[i][pAdmin] >= 1 && IsPlayerConnected(i)) admincount++
format(string,sizeof(string),"{FF00FF}%s : %d - %d",GetName(i),pData[i][Admin],AdminsLevelS(i));
if(admincount <= 0) return SendClientMessage(playerid,-1,"Error:{FF0000} No admin online");
}
SendClientMessage(playerid,-1,string);
for numbers you use %d not %s
oh yes i forgot about that, but the first value is varchar seccond is int third is varchar again,
thank you tho.
it does get my level but the name is not being set, aswell as the seccond string
Reply


Messages In This Thread
Bugged command. - by yvoms - 21.01.2016, 12:56
Re: Bugged command. - by AlexuTzVs - 21.01.2016, 13:02
Re: Bugged command. - by yvoms - 21.01.2016, 13:05
Re: Bugged command. - by SkyFlare - 21.01.2016, 13:45
Re: Bugged command. - by SkyFlare - 21.01.2016, 13:47
Re: Bugged command. - by yvoms - 21.01.2016, 13:53
Re: Bugged command. - by yvoms - 21.01.2016, 14:00
Re: Bugged command. - by SkyFlare - 21.01.2016, 14:05
Re: Bugged command. - by yvoms - 21.01.2016, 14:09
Re: Bugged command. - by SkyFlare - 21.01.2016, 14:21

Forum Jump:


Users browsing this thread: 6 Guest(s)