Multi Argument cmds
im trying to create a cmd that will allow the player to define multiple options.
ex.: amx_slap <target> <damage> <times> I dont really have any idea on how to approche this. i though maybe a read_argv would do it.[/small] |
Code:
|
Blah... v3x beat me.
|
I though these";" aren't necessary when scripting in PAWN?
|
No, it not needed.
|
Not needed but I would argue that it's a good habit to get into. Especially so if you plan on expanding on your programming skills.
|
Quote:
|
They are needed, if you don't want to end up with fifty billion errors if you make a stupid mistake.
|
Quote:
Just so I know what to look for. |
| All times are GMT -4. The time now is 15:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.