Raised This Month: $ Target: $400
 0% 

Solved help!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 06-10-2020 , 18:29   Re: help!
Reply With Quote #2

These variables are shared between all players on the server.

new stamina
new nbut
new Act

All should be arrays to allow a variable for each individual player:
PHP Code:
#define MAX_PLAYERS 32

new staminaMAX_PLAYERS ]
new 
nbutMAX_PLAYERS ]
new 
ActMAX_PLAYERS ]

//Then use stamina[ id ] 
__________________

Last edited by Bugsy; 06-10-2020 at 18:31.
Bugsy 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 17:01.


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