Help me in this
#4

Quote:
Originally Posted by Krauser123
Посмотреть сообщение
Thanks for your help, But it's not just about typing burg the player may type /show bu and he gets "Burger" and there is something else except burger like Journal
I already told you to continue the sequence. Repeat the codes (strcmp) but change the "burg" to "journal" and things that you need!

Example Code:

PHP код:
CMD:test(playeridparams[]) 

    new 
str[16]; 
    if(
sscanf(params"s[16]"str)) return SendClientMessage(playerid, -1"Usage: /test [params]"); 
    if (!
strcmp(str"burg"true))  
    { 
        
// Code here 
    

    else if (!
strcmp(str"jour"true)) // Journal  
    

        
// Code here 
    

    
// Continue
    
return 1

Reply


Messages In This Thread
Help me in this - by Krauser123 - 14.02.2017, 16:11
Re: Help me in this - by AjaxM - 14.02.2017, 16:16
Re: Help me in this - by Krauser123 - 14.02.2017, 16:38
Re: Help me in this - by AjaxM - 14.02.2017, 16:40
Re: Help me in this - by X337 - 14.02.2017, 16:57
Re: Help me in this - by Dayrion - 14.02.2017, 17:58
Re: Help me in this - by Krauser123 - 14.02.2017, 18:37
Re: Help me in this - by Krauser123 - 15.02.2017, 09:41
Re: Help me in this - by Vince - 15.02.2017, 10:35
Re: Help me in this - by Krauser123 - 15.02.2017, 13:47

Forum Jump:


Users browsing this thread: 1 Guest(s)