4 Errors help [rep+]
#1

help please


errors line
Quote:

if(PlayerInfo[playerid][pstate] == PLAYER_STATE_DRIVER && PBoolInfo[playerid][7] == true && vtype != VTYPE_BMX );

errors
Quote:

C:\Documents and Settings\Administrateur\Bureau\\gamemodes\.pwn(266 : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrateur\Bureau\\gamemodes\.pwn(266 : error 001: expected token: ")", but found ";"
C:\Documents and Settings\Administrateur\Bureau\\gamemodes\.pwn(266 : error 036: empty statement
C:\Documents and Settings\Administrateur\Bureau\\gamemodes\.pwn(266 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Reply
#2

try it like this if this dont work post more of the code above this line

pawn Код:
if((PlayerInfo[playerid][pstate] == PLAYER_STATE_DRIVER) && (PBoolInfo[playerid][7]) && (vtype != VTYPE_BMX) );
Reply
#3

Try this
Код:
if(PlayerInfo[playerid][pstate] == PLAYER_STATE_DRIVER && PBoolInfo[playerid][7] == true && vtype != VTYPE_BMX)
Reply
#4

pawn Код:
if(PlayerInfo[playerid][pstate] == PLAYER_STATE_DRIVER && PBoolInfo[playerid][7] == true && vtype != VTYPE_BMX )
the "if" statement can't end with a ";"
Reply
#5

More !!
Quote:

C:\Documents and Settings\Administrateur\Bureau\MLRP\gamemodes\rwgt a.pwn(266 : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrateur\Bureau\MLRP\gamemodes\rwgt a.pwn(3171) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrateur\Bureau\MLRP\gamemodes\rwgt a.pwn(4854) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrateur\Bureau\MLRP\gamemodes\rwgt a.pwn(4854) : warning 215: expression has no effect
C:\Documents and Settings\Administrateur\Bureau\MLRP\gamemodes\rwgt a.pwn(4854) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Administrateur\Bureau\MLRP\gamemodes\rwgt a.pwn(4854) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrateur\Bureau\MLRP\gamemodes\rwgt a.pwn(4854) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 Errors.

Quote:

if(DmgDif > 41.0 && VTYPE != VTYPE_AIR && VTYPE != VTYPE_BIKE && VTYPE != VTYPE_BMX)

Quote:

if(VTYPE != VTYPE_BMX & VehicleInfo[vehicleid][vSpeed] == 0)

Reply
#6

Link more of the script please. And the definitions of "VTYPE_AIR,BIKE,BMX" and so on.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)