25.12.2012, 11:59
First Question: (Regarding multiple parameters)
For example a command such as this:,
It consists of more then one parameter, where as y_commands just take parameters string array, so how can I split the string into multiple parameters ?
It will just take as:
Its just taking one parameter. I have to use strtok or what? Is there any other way?
Second question: (regarding player permissions)
I did not understand the player permissions thing on y_commands, is there any tutorial available on this? How can I implement player permissions ? Is there any simple example available ?
Note: I do not know any other info about other includes , I am new in scripting pawno (not in scripting), someone informed me, y_commands is fastest and easiest command processor so I would like to learn this.
For example a command such as this:,
Код:
/vehicle [id] [color1] [color2]
It will just take as:
pawn Код:
YCMD:vehicle (playerid, params[],help)
Second question: (regarding player permissions)
I did not understand the player permissions thing on y_commands, is there any tutorial available on this? How can I implement player permissions ? Is there any simple example available ?
Note: I do not know any other info about other includes , I am new in scripting pawno (not in scripting), someone informed me, y_commands is fastest and easiest command processor so I would like to learn this.