Originally posted by TheEliteMossy
There is a better way
self notifyonplayercommand("aim_pressed","+toggleads");
self notifyonplayercommand("aim_unpressed","-toggleads");
doSights(){
self endon ("death");
self endon("disconnect");
for(;

{
self waittill("aim_pressed");
//put your code for the sight here.
self waittill("aim_unpressed");
//put your code for when releasing aim
}
}
Thats how I do it as well, same as the invisibility toggle..
---------- Post added at 06:03 PM ---------- Previous post was at 05:58 PM ----------
Originally posted by IconBMX
It is fixed, otherwise you would have reloaded, and stopped aming.
Nice basic editing though....
I didn't relad because I hadn't added the toggle yet, but yes, I suppose it is fixed in the middle of the screen really.
And you're right,it is very basic coding..