Raised This Month: $ Target: $400
 0% 

Light on func_targer model entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-26-2017 , 08:29   Re: Light on func_targer model entity
Reply With Quote #10

You're misunderstanding the purpose of "static". It means just that unlike 'new', the variable is not initialized and the value will remain after the function is executed.
You don't need that in the current context.

You can read the Pawn Language Guide about static local declaration

:
__________________

Last edited by Arkshine; 02-26-2017 at 08:30.
Arkshine is offline
 



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 20:51.


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