Page 1 of 1

*grantitem on vehicles.

Posted: Sat Apr 14, 2007 5:29 pm
by DvdGStwrt
I have an autoshowroom I wish to stock with Vehicles 3, 4, 5, 6, 7 and 8

I tried *Grantitem [name] 3 Vehicle 3

Not a valid name.

So I used what I named the vehicle *Grantitem [name] 3 Mini

Not a valid name.

I wanted to stock my showroom with 3 of each to get things started.

Wood, milk, steel, coffee, soda, blah all work. Is there a special code for vehicles aside from what I named them?

I named the vehicles as follows:

3. Mini
4. Truck
5. Hummer
6. X-34 Hovercraft
7. Porche
8. Tractor

In my names files they are:

ITEMNAME,59= Mini
ITEMNAME,60= Truck
ITEMNAME,61= Hummer
ITEMNAME,62= X-34 Hovercraft
ITEMNAME,63= Porche
ITEMNAME,64= Tractor

I did asign the correct name to the correct vehicle numbers right?

Posted: Sat Apr 14, 2007 6:11 pm
by Mit
um, just looking at that namefiles txt stuff - i dunno whether its just a copy and paste or a forum thing - but it looks like you've got a space between the equals and the item name? If thats the case, I suspect its detecting that and so cant find the name "Mini" on grantitem because the item is actually called " Mini". maybe?

Posted: Sat Apr 14, 2007 6:31 pm
by DvdGStwrt
Ah the space. Yes that is in my Names file. I'll remove the spaces.

Thanks

Edit Addition: Yep it was the spaces for sure.

Posted: Sun Apr 15, 2007 10:43 am
by Mit
I've modified the *changeitemname command (server 0.50.7) so that it removes preceeding spaces.. is too easy to do that by mistake, particularly coz the command has that slightly odd format of using the comma separator

Posted: Sun Apr 15, 2007 4:47 pm
by Theros_12
Will that also get rid of space between item names?

Posted: Mon Apr 16, 2007 1:31 am
by DvdGStwrt
Force of habit to put a space after a comma. LOL. Good thing you will change that.