help +rep
#4

Quote:
Originally Posted by nmader
Посмотреть сообщение
pawn Код:
if(sscanf(params,"ud",pname,adminlvl))return SendClientMessage(playerid,COL_GREEN,"USAGE:/makeadmin [ID] [LEVEL]");
Quote:
Originally Posted by XVlaDX
Посмотреть сообщение
Код:
if(sscanf(params,"dd",pname,adminlvl))return SendClientMessage(playerid,COL_GREEN,"USAGE:/makeadmin [ID] [LEVEL]");
Try that.
Quote:
Originally Posted by TenTen
Посмотреть сообщение
Код:
if(sscanf(params,"ui",pname,adminlvl))return SendClientMessage(playerid,COL_GREEN,"USAGE:/makeadmin [ID] [LEVEL]");
The error is on "ui"
d, i and u isn't the problem and using any will make it work, the only difference between u and i that u checks for the name too, if not it returns an invalid id..
Reply


Messages In This Thread
help +rep - by YoussefHammad - 24.07.2015, 19:00
Re: help +rep - by nmader - 24.07.2015, 19:02
Re: help +rep - by XVlaDX - 24.07.2015, 19:03
Re: help +rep - by xVIP3Rx - 24.07.2015, 19:14
Re: help +rep - by TenTen - 24.07.2015, 19:15
Re: help +rep - by YoussefHammad - 24.07.2015, 19:20
Re: help +rep - by xVIP3Rx - 24.07.2015, 19:24
Re: help +rep - by YoussefHammad - 25.07.2015, 00:30
Re: help +rep - by xVIP3Rx - 25.07.2015, 01:04
Re: help +rep - by YoussefHammad - 25.07.2015, 01:08

Forum Jump:


Users browsing this thread: 1 Guest(s)