[ajuda] 4 erros no gm e mais alguns warnings - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [ajuda] 4 erros no gm e mais alguns warnings (
/showthread.php?tid=314091)
[ajuda] 4 erros no gm e mais alguns warnings -
Raphael_Lima - 28.01.2012
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.
AW: [ajuda] 4 erros no gm e mais alguns warnings -
paulor - 28.01.2012
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 ?
Re: [ajuda] 4 erros no gm e mais alguns warnings -
MatriXBorn - 29.01.2012
pawn Code:
local variable "hour" shadows a variable at a preceding level(Definiu 2 vezes)
error 017: undefined symbol "SetVehicleParamsEx"(Defina ele)
Tentei..