Heres what i need to have my weapon do, and i cant get to work:
It needs to check if what it hit is a brick.
If its not it needs to let me tell the client something
It needs to check if the player using the weapon is super admin
If its not it needs to let me tell the client something
It needs to then set a trigger on the brick
It has to set the trigger to the size of the bricks x, y vales, but not its z
It needs to set the z to 5, and the bottom of the trigger needs to be level with the bottom of the brick.
It needs to let me delete the trigger if i hit the brick again.
I need to know things like:
Does the trigger have to be in the weapon file, or can it be in a seperate file?
Does the weapon have to be melee/ranged?
Does the trigger need anything special to be placed by a weapon?
Also how do i make a player, when hit by a weapon, to not be able to move/jet, mabey even do anything.
Also to read a file how do i read different lines, and how do i take whats in these lines, and put them into varibles?
Do the varibles have to be $, or % to get it from a text file?
I bet your wondering why i need all this, and its your right to know a little if your gunna help me. Im making an add-on that saves cash, and does one other special thing right now, but you can wait for that. It also comes with a toy i made!