21.01.2010, 19:56
I can't think any good title for this topic. So what i need...is to make command that does one thing if i use parameter and another thing if i dont use any of them.
I think you don't get what I mean..
lets say command
If I enter the both paramaters it sets skin to some player.
But if I enter nothing..just only /skin and press enter he'll teleport me to somewhere.
This is just ugly example.
I think you don't get what I mean..
lets say command
Код:
CMD:skinn(playerid, params[]) { new otherid, skin; if(sscanf(params, "ui", otherid, skin)) return //USAGE
But if I enter nothing..just only /skin and press enter he'll teleport me to somewhere.
This is just ugly example.