So i wanted to create a test script where if you where to get wood a client message would appearand say good job cant it wont work please help heres the script
function useItem(x,y,z,itemId,blockId,side) { i
if(blockid==17)
{
function (clientmessage) good job
}
}
function useItem(x,y,z,itemId,blockId,side) { i
if(blockid==17)
{
function (clientmessage) good job
}
}
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumfunction useItem (x, y, z,itemId, blockId, side) { if(blockId == 17) //wood { clientMessage (" Good Job"); } }fixed it i think.
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
{
if (getTile(x,y,z) == 17)
{
clientMessage("Good Job")
}
}
Try this one also.
function useItem(x, y, z, itemId, blockId, side){
if(blockId==17)
clientMessage("Good Job");
}
}