Buenas espero que me puedan ayudar con estos errores. Estos errores me dan en solo 2 líneas y les indico abajo cuales son las líneas.
Línea 2656:
- Código:
C:\Users\DAVID\Desktop\Servidor samp\gamemodes\ZonaLatinaRP.pwn(2656) : warning 219: local variable "GetPlayerVehicle" shadows a variable at a preceding level
C:\Users\DAVID\Desktop\Servidor samp\gamemodes\ZonaLatinaRP.pwn(2657) : error 012: invalid function call, not a valid address
C:\Users\DAVID\Desktop\Servidor samp\gamemodes\ZonaLatinaRP.pwn(2657) : warning 215: expression has no effect
C:\Users\DAVID\Desktop\Servidor samp\gamemodes\ZonaLatinaRP.pwn(2657) : warning 215: expression has no effect
C:\Users\DAVID\Desktop\Servidor samp\gamemodes\ZonaLatinaRP.pwn(2657) : error 001: expected token: ";", but found ")"
C:\Users\DAVID\Desktop\Servidor samp\gamemodes\ZonaLatinaRP.pwn(2657) : error 029: invalid expression, assumed zero
C:\Users\DAVID\Desktop\Servidor samp\gamemodes\ZonaLatinaRP.pwn(2657) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
- Código:
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
new GetPlayerVehicle;
if(GetPlayerVehicle(playerid, vehicleid); > ()
{
GetPlayerVehicle = 1;
}
PlayerVehicleInfo[playerid][GetPlayerVehicle(playerid, vehicleid)][pvPaintJob] = paintjobid;
return 1;
}
Línea 2656:
- Código:
new GetPlayerVehicle;
- Código:
if(GetPlayerVehicle(playerid, vehicleid); > ()