27.08.2010, 12:13
I already have an idea of how "scripting" works, I just need someone to help me out here.
Ok so, just help me out here.
/Buyweed - How does this work, I understand it kind of works like this but I don't know how to write the lines. If player money < 300 then send message "You don't have the money, it's $300 per gram!" but if not then playerweed++.
/Smokeweed - If player weed < 1 then "You don't have weed to smoke!" but if not then playerweed-- send message "You smoked a gram of weed!" Set player health 100.
Can someone just make these things into lines for me and tell me where to put em?
Ok so, just help me out here.
/Buyweed - How does this work, I understand it kind of works like this but I don't know how to write the lines. If player money < 300 then send message "You don't have the money, it's $300 per gram!" but if not then playerweed++.
/Smokeweed - If player weed < 1 then "You don't have weed to smoke!" but if not then playerweed-- send message "You smoked a gram of weed!" Set player health 100.
Can someone just make these things into lines for me and tell me where to put em?