/makevip error msg
#2

"u" parameter will return "playerid" from name.

Change :
Код:
if(sscanf(params,"uu",pID,viplvl))return SendClientMessage(playerid,COL_GREEN,"/makevip [id] [level]");
To :
Код:
if(sscanf(params,"ud",pID,viplvl))return SendClientMessage(playerid,COL_GREEN,"/makevip [id] [level]");
And Change :
Код:
if(viplvl<0||viplvl>2)return SendClientMessage(playerid,COL_GREEN,"Please write an acceptable level");
To :
Код:
if(!(0 < viplvl < 3))return SendClientMessage(playerid,COL_GREEN,"Please write an acceptable level");
Reply


Messages In This Thread
/makevip error msg - by YoussefHammad - 25.08.2015, 01:14
Re: /makevip error msg - by X337 - 25.08.2015, 01:34

Forum Jump:


Users browsing this thread: 2 Guest(s)