[FilterScript] HidBar - Displaying the damage above players' heads!
#30

: warning 219: local variable "Pos" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

PHP Code:
public OnPlayerTakeDamage(playeridissueridFloat:amountweaponid)
{
    new 
str[4];
    new 
Float:Pos[3];
    
GetPlayerPos(playeridPos[0], Pos[1], Pos[2]);
    
format(str4"%.1f"amount);
    new 
Text3D:hitbar Create3DTextLabel(str0xFF0000FFPos[0], Pos[1], Pos[2] + 0.630.00);
    
SetTimerEx("UpdateHitBar"660"iffffii"playeridamountPos[0], Pos[1], Pos[2] + 0.8160xFF0000FF);
    
SetPVarInt(playerid"hidbar_HitBar"_:hitbar 1);
    return 
1;

line is :
PHP Code:
new Float:Pos[3]; 
pleas help ?
Reply


Messages In This Thread
HidBar - Displaying the damage above players' heads! - by Hiddos - 21.04.2011, 20:12
Re: HidBar - Displaying the damage above players' heads! - by WillyP - 21.04.2011, 20:13
Re: HidBar - Displaying the damage above players' heads! - by GunFight - 21.04.2011, 20:14
Re: HidBar - Displaying the damage above players' heads! - by linuxthefish - 21.04.2011, 20:14
Re: HidBar - Displaying the damage above players' heads! - by admantis - 21.04.2011, 20:15
Re: HidBar - Displaying the damage above players' heads! - by GaGlets(R) - 21.04.2011, 20:40
Re: HidBar - Displaying the damage above players' heads! - by Hiddos - 21.04.2011, 20:45
Re: HidBar - Displaying the damage above players' heads! - by Cameltoe - 21.04.2011, 22:01
Re: HidBar - Displaying the damage above players' heads! - by andreyy20081 - 21.04.2011, 22:11
Re: HidBar - Displaying the damage above players' heads! - by CJoao - 21.04.2011, 22:29
Re: HidBar - Displaying the damage above players' heads! - by viKKmaN - 21.04.2011, 22:32
Re: HidBar - Displaying the damage above players' heads! - by MrDeath537 - 22.04.2011, 01:36
Re: HidBar - Displaying the damage above players' heads! - by Abinesh™ - 22.04.2011, 02:54
Re: HidBar - Displaying the damage above players' heads! - by BASITJALIL - 22.04.2011, 03:35
Re: HidBar - Displaying the damage above players' heads! - by iJumbo - 22.04.2011, 07:48
Re: HidBar - Displaying the damage above players' heads! - by Hiddos - 22.04.2011, 14:28
Re: HidBar - Displaying the damage above players' heads! - by Mark_Weston - 22.04.2011, 14:31
Re: HidBar - Displaying the damage above players' heads! - by pagie1111 - 22.04.2011, 14:39
Re: HidBar - Displaying the damage above players' heads! - by Mean - 22.04.2011, 17:33
Re: HidBar - Displaying the damage above players' heads! - by Hiddos - 22.04.2011, 18:17
Re: HidBar - Displaying the damage above players' heads! - by Michael@Belgium - 22.04.2011, 18:19
Re: HidBar - Displaying the damage above players' heads! - by Hiddos - 22.04.2011, 18:47
Re: HidBar - Displaying the damage above players' heads! - by Michael@Belgium - 22.04.2011, 19:03
Re: HidBar - Displaying the damage above players' heads! - by sherlock - 22.04.2011, 20:10
Re: HidBar - Displaying the damage above players' heads! - by Mean - 22.04.2011, 21:19
Re : HidBar - Displaying the damage above players' heads! - by Naruto_Emilio - 22.04.2011, 22:10
Re: HidBar - Displaying the damage above players' heads! - by Michael@Belgium - 23.04.2011, 09:37
Re: HidBar - Displaying the damage above players' heads! - by Leroytjuh - 23.04.2011, 10:59
Re: HidBar - Displaying the damage above players' heads! - by Gamer_007 - 19.02.2013, 12:57
Re: HidBar - Displaying the damage above players' heads! - by s3ek - 12.06.2017, 01:26
Re: HidBar - Displaying the damage above players' heads! - by Kolstin - 12.06.2017, 02:01
Re: HidBar - Displaying the damage above players' heads! - by s3ek - 12.06.2017, 02:29
Re: HidBar - Displaying the damage above players' heads! - by Bernadeath - 12.06.2017, 12:31

Forum Jump:


Users browsing this thread: 3 Guest(s)