Raised This Month: $ Target: $400
 0% 

Engine invalid player


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PartialCloning
Senior Member
Join Date: Dec 2015
Old 12-19-2015 , 06:54   Re: Engine invalid player
Reply With Quote #1

Your #define is_user_valid_alive(%1) doesn't do anything special, it just checks if the user is a player, alive and connected.

1. You can't be alive if you're not connected.
2. It doesn't really matter because you then go on and loop through all the players.

A better solution is to use http://www.amxmodx.org/api/amxmodx/get_players

You should check out the other semiclip plugins as yours might be glitchy with that 0.1 sec check. There is also a semiclip module or two around.
PartialCloning is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:51.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode