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

pawn Код:
if(!sscanf(params, "dd", targetplayerid, isadmin[answer]))
You have this..

To that you add return SCM like this.

pawn Код:
if(!sscanf(params, "dd", targetplayerid, isadmin[answer])) return SCM(playerid, -1, "/setadmin [Playerid] [Level]");
This will send the message.

Offtopic
Oh and SCM stands for SendClientMessage. You can do this by:
pawn Код:
#define SCM SendClientMessage
Little tricks like this make scripting faster.
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: 2 Guest(s)