pawn - Tag mismatch player health -


i'm trying health of player i'm getting tag mismatch error on code below.

new health; getplayerhealth(playerid, health); 

hopefully can me, important server.

this common problem in sa:mp (which presume you're developing for). getplayerhealth gives player's health float, you're saving untagged variable.

to fix this, change new health; new float:health;


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -