return cmd_ - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: return cmd_ (
/showthread.php?tid=614132)
return cmd_ -
Fantje - 04.08.2016
hi guys,
I want to use return cmd_heremycmd inside OnDialogResponse.
inside a case:
PHP код:
case 0
{
return cmd_credits(playerid, params);
}
How can I do it the good way?
Re: return cmd_ - WhiteGhost - 04.08.2016
PHP код:
case 0
{
return cmd_credits(playerid, "");
}
Re: return cmd_ -
Fantje - 04.08.2016
thank youo
Re: return cmd_ -
AndySedeyn - 04.08.2016
You can drop 'params' altogether if your command doesn't use it:
PHP код:
CMD:credits(playerid) {
//code
}
Returning it:
PHP код:
return cmd_credits(playerid);
Re: return cmd_ -
Stinged - 04.08.2016
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 ""
Re: return cmd_ -
Fantje - 04.08.2016
Thank you guys for helping!
Re: return cmd_ -
SickAttack - 05.08.2016
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.
Re: return cmd_ -
Luicy. - 05.08.2016
Quote:
Originally Posted by SickAttack
Same response, bro. Unneeded.
|
Same sick attack idiot, bro. Unneeded.
Re: return cmd_ - WhiteGhost - 05.08.2016
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 ?
Re: return cmd_ -
SickAttack - 05.08.2016
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.