Interior Not Working
#1

Hey hey!... [SAP]Sidhu here. I'm making a shamal interior, but it doesn't seem to be working properly. When I go to the shamal, and press G, nothing happens.. Could somebody please help me fix this?


Thanks.

Pastebin http://pastebin.com/f297f7e99
Reply
#2

You should use OnPlayerEnterVehicle for this instead of OnPlayerStateChange. You never declared IsInShml. But you also forgot to set it to 1 when they get in it.
Reply
#3

Quote:
Originally Posted by backwardsman97
You should use OnPlayerEnterVehicle for this instead of OnPlayerStateChange. You never declared IsInShml. But you also forgot to set it to 1 when they get in it.
Could you help me script it so it works
Reply
#4

Somebody please help me fix this problem. I will add your name to the credits!
Reply
#5

I got a friend to help me fix the script, and this is what I have now.

http://pastebin.com/m1ba1f660

When I go to a shamal and press G, the player stil doesn't get teleported to the interior. Can someone please help me?

EDIT:

I got another friend to help me with another part of the script. When I try to compile it, my compiler stops working..
Could somebody please tell me if the scripting is wrong?

Pastebin : http://pastebin.com/f54c1008
Reply
#6

http://pastebin.com/m21a5f2ee
(Not tested)
Reply
#7

Quote:
Originally Posted by pen_†ĥęGun
It works!!... WOOO.. I'll give you credit
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)