SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 30/07/2011, 04:57 PM   #1
emokidx
Gangsta
 
emokidx's Avatar
 
Join Date: Jul 2011
Posts: 552
Reputation: 63
Spray Better

i don't know where to post this.
but as its regarding scripting so i am posting here.
which is better for making commands?
DCMD
ZCMD
YCMD
strcmp (lol >_>)
emokidx is offline  
Old 30/07/2011, 05:02 PM   #2
Shadoww5
High-roller
 
Join Date: Apr 2011
Posts: 2,199
Reputation: 63
Default Re: Better

I think ZCMD.
Shadoww5 is offline  
Old 30/07/2011, 05:10 PM   #3
Calgon
Banned
 
Join Date: Jan 2009
Posts: 6,138
Reputation: 1127
Default Re: Better

The competition would really be y_commands and zcmd.

I think y_commands is now faster than zcmd, see here.
Calgon is offline  
Old 30/07/2011, 05:10 PM   #4
Toreno
Gangsta
 
Join Date: Nov 2010
Posts: 725
Reputation: 41
Default Re: Better

In my opinion, and most of SA-MP members, zcmd and sscanf are the best combination. Although, if you use them both, do not update your SA-MP server to R5 until ****** updates his sscanf, otherwise, "u" parameters won't work for you.

EDIT: YCMD is very good aswell, though, I'm using zcmd and sscanf. Just choose ZCMD or YCMD, one of them.
Toreno is offline  
Old 30/07/2011, 05:13 PM   #5
emokidx
Gangsta
 
emokidx's Avatar
 
Join Date: Jul 2011
Posts: 552
Reputation: 63
Default Re: Better

the params arent " i " :O
emokidx is offline  
Old 30/07/2011, 05:19 PM   #6
Kush
Gangsta
 
Join Date: May 2011
Posts: 781
Reputation: 123
Default Re: Better

The Functions in which YCMD supports makes it superior
__________________
Quote:
Originally Posted by Dripac
i have more reputation than you, that means i am more clever than you my friend
Kush is offline  
Old 30/07/2011, 05:23 PM   #7
Toreno
Gangsta
 
Join Date: Nov 2010
Posts: 725
Reputation: 41
Default Re: Better

Quote:
Originally Posted by emokidx111 View Post
the params arent " i " :O
The parameter "i" is an integer and "u" represents user (bot/player).
There is a bug with "u" parameter when updating to R5, just stay with R4, it won't change a lot.
Toreno is offline  
Old 30/07/2011, 05:27 PM   #8
emokidx
Gangsta
 
emokidx's Avatar
 
Join Date: Jul 2011
Posts: 552
Reputation: 63
Default Re: Better

godam.. ._. now i understood why my commands are somewhat failing.. well thnx..

OnTopic; so YCMD is better hmm
emokidx is offline  
Old 30/07/2011, 05:48 PM   #9
Kush
Gangsta
 
Join Date: May 2011
Posts: 781
Reputation: 123
Default Re: Better

YCMD is better, ZCMD is just as good and easier. You most likely wouldn't be using YCMD's key features and commands. So you would be better off with ZCMD.
__________________
Quote:
Originally Posted by Dripac
i have more reputation than you, that means i am more clever than you my friend
Kush is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 08:20 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.