Problem with code
#1

The error:

PHP код:
C:\Users\tal\Desktop\лммй\им\щшъй ощзч\IRP (0.3z)\filterscripts\Death_System.pwn(19 -- 20) : error 029invalid expressionassumed zero
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase
1 Error

The code:

PHP код:
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#define col_grey 0xADADADFF
#define COLOR_RED 0xAA3333AA
new bool:isplayerwell[MAX_PLAYERS];
public 
OnPlayerUpdate(playerid)
{
    new 
Float:health;
    
GetPlayerHealth(playeridhealth);
    if(
isplayerwell[playerid] == true && health <= 20)
    {
        
ApplyAnimation(playerid"CRACK""crckdeth2"4.010000);
        
isplayerwell[playerid] = false;
    }
    else(
isplayerwell[playerid] == false && health >= 30)
    {
        
ClearAnimations(playerid);
        
isplayerwell[playerid] = true;
    }
    return 
1;

Reply


Messages In This Thread
Problem with code - by howtodo - 07.03.2014, 09:11
Re: Problem with code - by howtodo - 07.03.2014, 09:25
Re: Problem with code - by Dignity - 07.03.2014, 09:37
Re: Problem with code - by r3ct - 07.03.2014, 09:39
Re: Problem with code - by Konstantinos - 07.03.2014, 09:44
Re: Problem with code - by dice7 - 07.03.2014, 09:46
Re: Problem with code - by iggy1 - 07.03.2014, 09:46
Re: Problem with code - by BoBiTzaa - 07.03.2014, 10:17

Forum Jump:


Users browsing this thread: 1 Guest(s)