Please help, will be explained in the text.
#8

Quote:
Originally Posted by emokidx111
Посмотреть сообщение
pawn Код:
if(sscanf(params, "ui", targetplayerid, level)) return SendClientMessage(playerid, ADD_COLOR_HERE, "/setadmin [playerid] [level]);
by this
That won't work...Because it has to be either

pawn Код:
if(sscanf(params, "u", targetplayerid, level)) return SendClientMessage(playerid, ADD_COLOR_HERE, "/setadmin [playerid] [level]);
Or

pawn Код:
if(!sscanf(params, "ui", targetplayerid, level)) return SendClientMessage(playerid, ADD_COLOR_HERE, "/setadmin [playerid] [level]);
EDIT: Sorry for double post.
Reply


Messages In This Thread
Please help, will be explained in the text. - by jessejanssen - 24.02.2012, 00:02
Re: Please help, will be explained in the text. - by JhnzRep - 24.02.2012, 00:26
Re: Please help, will be explained in the text. - by jessejanssen - 24.02.2012, 00:36
Re: Please help, will be explained in the text. - by JhnzRep - 24.02.2012, 00:40
Re: Please help, will be explained in the text. - by jessejanssen - 24.02.2012, 01:03
Re: Please help, will be explained in the text. - by emokidx - 24.02.2012, 01:26
Re: Please help, will be explained in the text. - by JhnzRep - 24.02.2012, 01:27
Re: Please help, will be explained in the text. - by JhnzRep - 24.02.2012, 01:30

Forum Jump:


Users browsing this thread: 1 Guest(s)