05.05.2011, 17:52
(
Последний раз редактировалось Kobatz; 05.05.2011 в 18:36.
)
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.
Just to explain for some peoples that don't know:
- 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.
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.
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; } }
Код:
if(IsPlayerInRangeOfPoint(playerid, 2.5,2071.8589,-1551.2434,13.4243))
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; }
..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.