Making commands to change skin, etc
#1

Basically, what I'd like to know is how do you make commands that set skin etc..
Now, I know you could do like ...

if (strcmp("/myskin", cmdtext, true) == 0)
{
SetPlayerSkin(playerid,186);
return 1;
}

And its changes skin, but I want to know how to make a command that would be something like

/skin [id]

And the skin changes to whatever ID they specify.

I realize this is possible if you just did a command over and over for /skin 1, /skin 2 etc but I want a cleaner and easier way of doing that but I've got no idea how and I need help.

I'd also like to know how to do this for more things, such as weapons and vehicles and so on.

Any help would be greatly appreciated.
(Sorry if this was posted in the wrong place, I just really need help with this :P)
Reply


Messages In This Thread
Making commands to change skin, etc - by Trekkx - 09.04.2012, 20:58
Re: Making commands to change skin, etc - by Jack.7331 - 09.04.2012, 21:08
Re: Making commands to change skin, etc - by .FuneraL. - 09.04.2012, 21:24
Re: Making commands to change skin, etc - by Trekkx - 09.04.2012, 21:26
Re: Making commands to change skin, etc - by Trekkx - 09.04.2012, 21:28
Re: Making commands to change skin, etc - by Onyx - 09.04.2012, 21:42
Re: Making commands to change skin, etc - by Jack.7331 - 09.04.2012, 21:44
Re: Making commands to change skin, etc - by Toreno - 09.04.2012, 21:45
Re: Making commands to change skin, etc - by WarriorEd22 - 09.04.2012, 21:49
Re: Making commands to change skin, etc - by Toreno - 09.04.2012, 22:04

Forum Jump:


Users browsing this thread: 1 Guest(s)