Scripts / Little bit of help with this script please guys

Author
Message
Honkeyboy
3D Media Maker
9
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 13th Nov 2018 20:18 Edited at: 13th Nov 2018 20:18
the script basically works like this you enter loko's realm and have to pay the ferryman I have two ferrymen set up so when you pay 1 it vanishes and the second one appears and you spawn next to him and a second script visa versa this is working fine the problem im having is that its taking too many coins. it costs 2 to travel each way but its taking 4 -6 etc etc. I'm sure smallg showed me where I went wrong a while back but its been a while and I've forgot :/ any help I'd be grateful guys this is the last level of the little game im doing
Here's the script :

Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 13th Nov 2018 20:46 Edited at: 13th Nov 2018 20:53


Btw, shouldn't it be : TransportToIfUsed( entity_number2 ) ?
Been there, done that, got all the T-Shirts!
PM
Honkeyboy
3D Media Maker
9
Years of Service
User Offline
Joined: 16th Sep 2015
Location: Doesnt know half the time ;)
Posted: 13th Nov 2018 21:24 Edited at: 13th Nov 2018 21:28
Thanks m8 don't know entity number two is a boat in water wheras the player tp's to a dock next to the boat so hmm don't think that would work
Edit: sweet works perfectly now edited it for both scripts Cheers AM
Intel i5 4950 Quad core 3.3ghz AMD FX 6300 x6 cores 3.5ghz(unclocked)
8gb Ram 8gb Ram
AMD Radeon 7570 1gb AMD Radeon HD 6670 2gb
and a well fed mouse on a wheel

I only smile because i have absolutely no idea whats going on

Login to post a reply

Server time is: 2024-12-22 20:42:37
Your offset time is: 2024-12-22 20:42:37