View Single Post
Author Message
delux450
Junior Member
Join Date: Apr 2020
Old 04-21-2020 , 09:04   Individual count++ (personal) for each player
Reply With Quote #1

Hi guys,

i'm bulding a plugin when player is in game he can hade 3 "he grenade", so, when the player launche the first grenade, i increment a "count" variable like this :
PHP Code:
count++; 
and i put a new grenade in stuff (if count != 3)

All working fine, but when other player launch grenade he increment count too...

i want to increment "count" only by one player, instead by "all"

Is not a really a probleme, it's logic, but how to do thate ? i don't have any idea

Thanks for help
delux450 is offline