hello there
#1

Hello guys,i'm new guy here on this forums.I'm new here on this forum,i've started to learn Pawn(o) - w/e .. some days ago and i need some answers.
I already asked ****** he told me some things but i can't understand his lang he's to good,hehe.

Okay,so..

While i was learning Pawn(o) i watched many tutorials(text tuts from wiki and vids from yt),but still..i don't understand anything..(that probably sounds stupid)..in those tuts i saw that people use some formats zcmd,dcmd,sscanf and there are many more formats or w/e you call them i belive.In every tutorial i watched...peoples tell.. for example: If i watch tutorial for sscanf and dcmd the guy who made tutorial tells me that they are best and easiest to use.Then after i watch some tutorials about zcmd they say zcmd is best and easiest to use.Okay so guys can u tell me what 'format' is best,simple and easiest to use(and if you can please explain it a little bit or give me some tutorial i would appreciate that).

I'm currently making commands on the normal way i don't know how you call it..if you can please tell me name i think it's strcmp,and i made some easy command and i understand them(but i couldn't make some harder CMDs like /takegun(idk mby this isn't hard cmd for you guys so don't laugh )).

The reason i made this topic is because some peoples were talking that normal way is way to harder than dcmd and sscanf so i wanna learn easier way so i can learn how to make harder CMDs i guess.

Okay thats it for now

Thanks for helping if you help and i belive you will..

Regards,
-Kobatz


P.S - Here i will add some simple commands i made they might help some guys,please don't tell me i'm 'noob' or something like that,i'm just trying to help some peoples who don't know anything.

Код:
if (strcmp("/enter", cmdtext, true, 6) == 0)  // This goes under OnPlayerCommandText
    {
        if(IsPlayerInRangeOfPoint(playerid, 2.5,2071.8589,-1551.2434,13.4243)) 
            {
                SetPlayerPos(playerid,2543.462646,-1308.379882,1026.728393); // coord of the interior
                SetPlayerInterior(playerid,2); // Interior ID
                return 1;
            }
    }
Just to explain for some peoples that don't know:
Код:
 if(IsPlayerInRangeOfPoint(playerid, 2.5,2071.8589,-1551.2434,13.4243))
- Those numbers are coordinates taken in front of the house you want to enter in.

And if you don't know from where to get interior ID and coordinates of the interior go to www.******.com and write Interior IDs and i'm sure you will find them easily.. if you got some problems FEEL FREE to PM or Reply here.

Код:
if (strcmp("/kill", cmdtext, true, 10) == 0)
    {
         SetPlayerHealth(playerid, 0); // This sets player health points to 0
         SendClientMessage(playerid, COLOR_YELLOW, "(INFO)You have killed your self by using /kill command");
         return 1;
	}
This is easiest command ever,i guess.I'm sure you understand this without any problems.


..Okay that's it i won't post more CMD's since this isn't tutorials section,i'm not even sure is this right section for this subject.If it isn't i'm really sorry,move it please.
Reply
#2

Hi, you seem nice!
Reply
#3

ZCMD is the fastest one...
Код:
CMD:kill(playerid, params[])
{
         SetPlayerHealth(playerid, 0); // This sets player health points to 0
         SendClientMessage(playerid, COLOR_YELLOW, "(INFO)You have killed your self by using /kill command");
         return 1;
}
Reply
#4

Quote:
Originally Posted by linuxthefish
Посмотреть сообщение
Hi, you seem nice!
I think he wants you to help him xD, not just say 'Hey, you seem nice!' xD

Quote:

Just to explain for some peoples that don't know:

Code:
if(IsPlayerInRangeOfPoint(playerid, 2.5,2071.8589,-1551.2434,13.4243))- Those numbers are coordinates taken in front of the house you want to enter in.

Lol! You told us you were a beginner.. If that was so, we should be learning you things.

And uhh, why did you post all the cmds? For us to see what you've made?? ... Uhh, okay, I guess you're a fast learner? Goodluck with scripting in the future! And uhh, try to make your own scripts! Don't copy paste

See yaa
Reply
#5

@Linux - Nice to see you think that.I think the same about you man.

@Stefan - How? You didn't explained me noting at all with posting that command your CMD takes 6 lines in Pawno and mine takes 6 lines too.

@Spirit - Can't you read dude? I posted this to the guys who just started to learn .. if they don't get things at all.. and i didn't copied/pasted this command i made it by myself they aren't hard at all.I wrote that i started to learn Pawn few days ago, i made 2 simple CMD's now i'm pro? Your post is FUCKING useless.

Anyway thanks for replying here i appreciate that.

P.S - Don't get me wrong Spirit,i know your cool,you just didn't get what i tried to tell.


-Kobatz
Reply
#6

DCMD
- easy to use
- fastest command processor for single command

ZCMD
- easier than any other command processor to use
- fastest command processor for multiple commands for now

I use ZCMD cos its rely easy and its fast
Reply
#7


ZCMD looks awesome in your description,lol.

Can you give me example of some easy CMD in ZCMD and link for some tutorial,please.

Thanks a lot.

-Kobatz
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)