Raised This Month: $23 Target: $400

kill detect

Post New Thread Reply   
Thread Tools Display Modes
Author Message
Sanjay Singh
Veteran Member
Join Date: Sep 2016
Old 06-28-2020 , 03:06   kill detect
Reply With Quote #1

stock to return if player is flashed or not

Last edited by Sanjay Singh; 06-28-2020 at 03:21.
Sanjay Singh is offline
Send a message via AIM to Sanjay Singh
Join Date: May 2018
Location: World of Bushi
Old 06-28-2020 , 15:36   Re: kill detect
Reply With Quote #2

You can use something like this.
PHP Code:
stock bool:is_user_flashed(const id)
get_pdata_float(id514) > get_gametime()

I really can't say if this is the most efficient way to check if the user is 'flashed'.
Just an impractical signature
nothing to see here.
MagNNusS is offline

Thread Tools
Display Modes

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 03:05.

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