error 010: invalid function or declaration [ Help Support ]
#1

Warning :
./includes/gvcmode.pwn(139848 ) : error 010: invalid function or declaration
./includes/gvcmode.pwn(139853) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Errors.

if(issuerid != INVALID_PLAYER_ID && weaponid == 34 && bodypart == 9)
{
SetPlayerHealth(playerid, 0.0);
}

if(issuerid != INVALID_PLAYER_ID && weaponid == 25 && weaponid == 31 && weaponid == 24 && weaponid == 22 && weaponid == 27 && weaponid == 29 && weaponid == 34 && ( bodypart ==7||bodypart== 8 ) );
{
ApplyAnimation(playerid, "PED", "BIKE_fall_off", 4.1, 0, 1, 1, 1, 0, 1);
}

Plesee Helpme , Me Bad English Sorry ...
Reply
#2

pawn Код:
|| body part ==8))
Without the ;
Reply
#3

if(issuerid != INVALID_PLAYER_ID && weaponid == 34 && bodypart == 9);
{
SetPlayerHealth(playerid, 0.0);
}

if(issuerid != INVALID_PLAYER_ID && weaponid == 25 && weaponid == 31 && weaponid == 24 && weaponid == 22 && weaponid == 27 && weaponid == 29 && weaponid == 34 && ( bodypart ==7||bodypart== );
{
ApplyAnimation(playerid, "PED", "BIKE_fall_off", 4.1, 0, 1, 1, 1, 0, 1);
}
... Warning Again Help Me Plesee Scripter ...
Reply
#4

When you use if(something == something2) don't add ;
Example
if(something == something)
{

}

Not like this :
if(something == something2);
{

}
Reply
#5

if(issuerid != INVALID_PLAYER_ID && weaponid == 25 && weaponid 2 == 31
?
Reply
#6

Yes but add: )
Reply
#7

if(issureid != INVALID_PLAYER_ID && weaponid == 25 || weaponid == 31)
{
//your code.
}
Reply
#8

weaponid == 25 && weaponid : 2) == 31 && weaponid : 3 ) == 24 && weaponid : 4 ) == 22 && weaponid : 5 ) == 27 && weaponid : 6 ) == 29 && weaponid : 7 ) == 34 && ( bodypart ==7||bodypart== );
? Scripter , Right
Reply
#9

No don't add ;
Look how I did

pawn Код:
if(issureid != INVALID_PLAYER_ID && weaponid == 25 || weaponid == 31)
{
     //your code.
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)