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