- Joined
- Mar 19, 2010
- Messages
- 106
Ive got a little problem so.. I maked a complete Trade menu to trade for exemple: Lumber for Gold or Gold for lumber.. ↓↓↓
So I decided to add a sound to every transaction... and it only work if exemple someone trade 100 Gold for 50 Lumber and he doesn't have enough gold it makes an error sound but when he have enough gold it doesn't work:
So I decided to add a sound to every transaction... and it only work if exemple someone trade 100 Gold for 50 Lumber and he doesn't have enough gold it makes an error sound but when he have enough gold it doesn't work:
- Set Player = (Triggering player)
- Custom script: if GetLocalPlayer() == udg_Player then
- Sound - Play BundleOfLumber <gen>
- Custom script: endif