Thread: save amount
View Single Post
Old 09/05/2020, 01:10 PM   #1
Little Clucker
Join Date: Aug 2016
Posts: 40
Reputation: 0
Default save amount

Hello! Is there any way to save the amount of damage to a player variable?

I've tried this form but it doesn't work:

PHP Code:
public OnPlayerTakeDamage(playeridissuerid,Floatamountweaponid)
if (
issuerid != INVALID_PLAYER_ID)
PlayerInfo[playerid][TotalDMG] = ++amount;

I need save all the damage one does to another player for a top, but this shows the error:

PHP Code:
C:\Users\thef\Escritorio\SERVER\gamemodes\game.pwn(849) : warning 213tag mismatchexpected tag none ("_"), but found "Float" 
Vy is offline   Reply With Quote