Is looking at player
I wanted to make a code where it will make the player use the command +attack if they are looking at another player, but I have no idea how to put it into code and have looked at other people's code but to no success.
This is what I've tried PHP Code:
|
Re: Is looking at player
for(new i=1;i>0;i++)
Your server is 'freezing' because you are starting a endless loop there. (i will always be bigger than 0...) |
Re: Is looking at player
This is the short way:
Code:
Although if a player disconnects during that time of auto fire their key will get "stuck on" a bit for the next time they join a server. The full method is quite a bit of work. |
| All times are GMT -4. The time now is 13:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.