Author Topic: i need some console codes  (Read 1345 times)

all i know is
jet();
tree();
turnleft();
& explodeclock();
i need that code like "additem" or "setinventory" plz reply

those are events....(add item and set inventory)

findclientbyname("name").player.addItem(HammerItem);

findclientbyname("name").player.addItem(HammerItem);
Does:
findclientbyid("ID").player.addItem(HammerItem);
Work?


do you need the quoaiton marks or prenteces



they dont work
Are you saying your " key doesn't work? If so, your keyboard is crap.

do you need the quoaiton marks or prenteces
No quotes are needed findclientbyname(Plornt).player.additem(whatever);

No quotes are needed findclientbyname(Plornt).player.additem(whatever);
UNLESS your finding someone with two words in their name:
Say there were two players: Big Guy, Big Girl (Just examples).
They you would need to do findclientbyname("Big Guy/Girl").player.addItem(whatever);

addItem only works if you have those Inventory events installed and enabled.