/cmd [playerid/playername]
#1

Hey,

How can i make a command that will either use a players id, or their name?

I want both to do totally different things, so if its /cmd [playerid] i would do something different to /cmd [playername]

But the same command..

So it would need to heck if i input playerid, then do what i want it to do,

or if its playername do something different that i want it to do...


Could someone tell me how its done.... not a great explanation i know, as im in a bit of a hurry...

Thanks.
Reply


Messages In This Thread
/cmd [playerid/playername] - by Outbreak - 20.04.2009, 18:20
Re: /cmd [playerid/playername] - by Rks25 - 20.04.2009, 19:15
Re: /cmd [playerid/playername] - by Daren_Jacobson - 20.04.2009, 19:15

Forum Jump:


Users browsing this thread: 1 Guest(s)