add params later on in command
#4

You should make at the beginning an optional param "S[128]"

So change your first sscanf params to this..

PHP код:
if(sscanf(params"uuS[128]"idleveltitle)) 
And add an exception in ur command..

PHP код:
if(level ==6)
{
     if(
sscanf(params"s[128]"title)) return SendClientMessage(playerid, -1"/makeadmin [playerid] 6 [title]");

Reply


Messages In This Thread
add params later on in command - by NoteND - 26.07.2018, 10:54
Re: add params later on in command - by Dayrion - 26.07.2018, 11:34
Re: add params later on in command - by NoteND - 26.07.2018, 11:42
Re: add params later on in command - by JasonRiggs - 26.07.2018, 12:07
Re: add params later on in command - by JasonRiggs - 26.07.2018, 12:11
Re: add params later on in command - by JasonRiggs - 26.07.2018, 12:23
Re: add params later on in command - by Dayrion - 27.07.2018, 15:51

Forum Jump:


Users browsing this thread: 1 Guest(s)