spawnmob
#7
Are you sure you have the arguments alright? The command handler callbacks take only two arguments, the first one is the split command, the second one is the cPlayer. Your function has more args and mixed up.

Secondly, to compare strings, you need to put them in quotes properly:
if (Split[2] == "creeper")
Reply
Thanks given by:


Messages In This Thread
spawnmob - by NiLSPACE - 12-25-2011, 09:28 PM
RE: spawnmob - by NiLSPACE - 02-16-2012, 03:16 AM
RE: spawnmob - by tonibm19 - 07-12-2013, 12:15 AM
RE: spawnmob - by tonibm19 - 07-12-2013, 04:02 AM
RE: spawnmob - by NiLSPACE - 07-12-2013, 04:10 AM
RE: spawnmob - by tonibm19 - 07-12-2013, 04:12 AM
RE: spawnmob - by xoft - 07-12-2013, 04:21 AM
RE: spawnmob - by NiLSPACE - 07-12-2013, 04:22 AM
RE: spawnmob - by xoft - 07-12-2013, 04:27 AM
RE: spawnmob - by NiLSPACE - 07-12-2013, 05:01 AM
RE: spawnmob - by xoft - 07-12-2013, 04:20 PM
RE: spawnmob - by NiLSPACE - 07-12-2013, 05:16 PM
RE: spawnmob - by xoft - 07-13-2013, 06:29 AM



Users browsing this thread: 2 Guest(s)