Author Topic: Scripting help: Changing playertype then changing back after 15 secs  (Read 505 times)

i modeled a simple syringe, took the Pill script and files and edited them a little (replaced "pill" with syringe and "heal" with healed, i also changed the emote.) and it works just like i want it to. except for one thing:
i need to know how to make my little syringe change a player's playertype into PlayerQuakeArmor then after 15 seconds change it back in to in to PlayerStandardArmor.

i've tried with some different scripts but they all get this error: "Can't find function player, attempting setDataBlock" or something like that.


im also keeping this private because its a test so no need to get mad about me copying scripts.

I'd also like to point out that my model sticks inside the hand, like in the fingers.
I added a mountPoint joint but it doesn't seem to work? Help, please.