return cmd_
#1

hi guys,

I want to use return cmd_heremycmd inside OnDialogResponse.

inside a case:

PHP код:
case 0
                
{
                    return 
cmd_credits(playeridparams); 
                } 
How can I do it the good way?
Reply
#2

PHP код:
case 
                

                    return 
cmd_credits(playerid"");  
                } 
Reply
#3

thank youo
Reply
#4

You can drop 'params' altogether if your command doesn't use it:

PHP код:
CMD:credits(playerid) {
    
//code

Returning it:
PHP код:
return cmd_credits(playerid); 
Reply
#5

If you don't want to use params, but you actually have parameters in that command (Unlike AndySedeyn's case)
You should use "\1" instead of ""
Reply
#6

Thank you guys for helping!
Reply
#7

Quote:
Originally Posted by Stinged
Посмотреть сообщение
If you don't want to use params, but you actually have parameters in that command (Unlike AndySedeyn's case)
You should use "\1" instead of ""
Same response, bro. Unneeded.
Reply
#8

Quote:
Originally Posted by SickAttack
Посмотреть сообщение
Same response, bro. Unneeded.
Same sick attack idiot, bro. Unneeded.
Reply
#9

Quote:
Originally Posted by Meller
Посмотреть сообщение
Same sick attack idiot, bro. Unneeded.
Dude can't you chill? & Stop bumping the topic if you're not contributing ?
Reply
#10

Quote:
Originally Posted by Meller
Посмотреть сообщение
Same sick attack idiot, bro. Unneeded.
It does the same thing... No need for "\1".

What's your problem? You PM my "location" and "street", who knows what you wanted to achieve with that. Just because you think I reported your teamviewer thread, you're all butthurt. I never reported it, it got deleted because you kept spamming your teamview meetings. Then posting a link to livecoding.

You're the one that's unneeded here, spreading out your anger which you retain and cannot let go. And for no reason at all. I just told you that it isn't allowed to spam links or whatever.

I reported your reply, by the way. Added the PMs too. I don't know what kind of sick joke you wanted to pull off.

But yeah, "" would work just fine.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)