Doubt with Command.
#1

Hai,
So i am making a puzzle roberry and ended up in a doubt.

so here it goes.
Код:
CMD:crack(playerid, params[])
{
new num1,num2,num3;
if(sscanf(params,"iii", num1,num2,num3)) 
{
    SendClientMessage(playerid,Color_Red,"Incorrect Usage");
}
return 1;
}
so here when i type /crack 1 2 3 - These spaces i have to remove. so it should look like /crack 123

and second doubt.
if i just type this letters by pressing "t" is there any way i can get or assign this variable to num1,num2 and num3 ??

thnx in advance
Reply


Messages In This Thread
Doubt with Command. - by Shaheen - 28.08.2017, 15:23
Re: Doubt with Command. - by Misiur - 28.08.2017, 15:29
Re: Doubt with Command. - by Shaheen - 28.08.2017, 15:33
Re: Doubt with Command. - by 10MIN - 28.08.2017, 15:38
Re: Doubt with Command. - by Misiur - 28.08.2017, 15:39
Re: Doubt with Command. - by Shaheen - 28.08.2017, 15:47
Re: Doubt with Command. - by Shaheen - 28.08.2017, 18:45
Re: Doubt with Command. - by Misiur - 28.08.2017, 19:22

Forum Jump:


Users browsing this thread: 1 Guest(s)