Making a command with 3 parameters
#6

Quote:
Originally Posted by Yaa
Посмотреть сообщение
PHP код:
CMD:tempban(playeridparams[])
{
     new 
bannedidreason[25], hours;
     if(
sscanf(params"uis[25]"bannedidreason,hours)) return SendClientMessage(playeridRED"/tempban [player] [reason] [time]");
     return 
1;

Really?
PHP код:
CMD:tempban(playeridparams[]) 

     new 
bannedidreason[25], hours
     if(
sscanf(params"us[25]i"bannedidreason,hours)) return SendClientMessage(playeridRED"/tempban [player] [reason] [time]"); 
     return 
1

It's like this ^^
Reply


Messages In This Thread
Making a command with 3 parameters - by ax1 - 04.01.2017, 11:51
Re: Making a command with 3 parameters - by Konstantinos - 04.01.2017, 11:53
Re: Making a command with 3 parameters - by ax1 - 04.01.2017, 12:11
Re: Making a command with 3 parameters - by BiosMarcel - 04.01.2017, 12:13
Re: Making a command with 3 parameters - by Yaa - 04.01.2017, 12:15
Re: Making a command with 3 parameters - by StrikerZ - 04.01.2017, 12:41
Re: Making a command with 3 parameters - by ax1 - 04.01.2017, 12:46
Re: Making a command with 3 parameters - by Yaa - 04.01.2017, 13:03
Re: Making a command with 3 parameters - by ax1 - 04.01.2017, 13:48
Re: Making a command with 3 parameters - by Yaa - 04.01.2017, 14:05

Forum Jump:


Users browsing this thread: 2 Guest(s)