[FilterScript] Mine system
#5

pawn Код:
stock IsPlayerInSphere(playerid,Float:x,Float:y,Float:z,radius)
There is IsPlayerInRangeOfPoint() furthermore it is pretty silly to use OnPlayerUpdate() just use the streamer plugin and dynamic areas everyone uses the plugin it is standard then you wouldn't even need to use range checking at all.

You didn't delete all the objects on OnFilterScriptExit()

There is absolutely no need for what you do in OnPlayerConnect() it is already done in OnPlayerDisconnect()
Reply


Messages In This Thread
Mine system - by Thogy - 26.08.2014, 16:05
Re: Mine system - by JeevanJyothish - 26.08.2014, 16:12
Re: Mine system - by Thogy - 26.08.2014, 17:49
Re: Mine system - by nightday - 26.08.2014, 18:16
Re: Mine system - by Pottus - 26.08.2014, 19:06
Re: Mine system - by Thogy - 26.08.2014, 20:02
Re: Mine system - by Stinged - 26.08.2014, 20:13

Forum Jump:


Users browsing this thread: 1 Guest(s)