[ajuda] 4 erros no gm e mais alguns warnings
#1

pawn Code:
C:\Documents and Settings\Raphael Lima\Meus documentos\Game Mode\ass\Pawno\include\dutils.inc(45) : warning 219: local variable "hour" shadows a variable at a preceding level
C:\Documents and Settings\Raphael Lima\Meus documentos\Game Mode\ass\Pawno\include\dutils.inc(45) : warning 219: local variable "minute" shadows a variable at a preceding level
C:\Documents and Settings\Raphael Lima\Meus documentos\Game Mode\ass\Pawno\include\dutils.inc(45) : warning 219: local variable "second" shadows a variable at a preceding level
C:\Documents and Settings\Raphael Lima\Meus documentos\Game Mode\ass\Pawno\include\dutils.inc(45) : warning 219: local variable "day" shadows a variable at a preceding level
C:\Documents and Settings\Raphael Lima\Meus documentos\Game Mode\ass\Pawno\include\dutils.inc(45) : warning 219: local variable "month" shadows a variable at a preceding level
C:\Documents and Settings\Raphael Lima\Meus documentos\Game Mode\ass\Pawno\include\dutils.inc(45) : warning 219: local variable "year" shadows a variable at a preceding level
C:\DOCUME~1\RAPHAE~1\MEUSDO~1\GAMEMO~1\BML\GAMEMO~1\PBG.pwn(1893) : error 017: undefined symbol "GetVehicleParamsEx"
C:\DOCUME~1\RAPHAE~1\MEUSDO~1\GAMEMO~1\BML\GAMEMO~1\PBG.pwn(1893) : error 017: undefined symbol "SetVehicleParamsEx"
C:\DOCUME~1\RAPHAE~1\MEUSDO~1\GAMEMO~1\BML\GAMEMO~1\PBG.pwn(1893) : error 017: undefined symbol "SetVehicleParamsEx"
C:\DOCUME~1\RAPHAE~1\MEUSDO~1\GAMEMO~1\BML\GAMEMO~1\PBG.pwn(1893) : fatal error 107: too many error messages on one line


LINHA DO ERRO:
pawn Code:
vehicleid = GetPlayerVehicleID(playerid);GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);if(GetPVarInt(playerid,"Lights") == 1){SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_OFF, alarm, doors, bonnet, boot, objective);SetPVarInt(playerid,"Lights",0);}else if(GetPVarInt(playerid,"Lights") == 0){SetVehicleParamsEx(vehicleid, engine, VEHICLE_PARAMS_ON, alarm, doors, bonnet, boot, objective);

alguйm pode ajudar? dou reputaзгo... ja tentei de tudo e nao consegui resolver. quem puder ajudar agradeзo.
Reply
#2

Muda o nome das variaveis hour, minute, second, day, month, year do seu gm pois ja foram criadas na include.

agora pq esta dando indefinido simbolo ai e nгo sei nao pois isso sao do samp 0.3c vcs esta com as includes certinho ? a_samp ?
Reply
#3

pawn Code:
local variable "hour" shadows a variable at a preceding level(Definiu 2 vezes)
error 017: undefined symbol "SetVehicleParamsEx"(Defina ele)
Tentei..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)