SA-MP Forums Archive
[Ajuda] Erro :O - 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] Erro :O (/showthread.php?tid=606184)



Erro :O - Lucas_Rocha - 30.04.2016

galera tava colocando umas lombadas no meu samp ai deu o seguinte erro

pawn Код:
(12050) : error 017: undefined symbol "SetObjectMaterial"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Linha do erro :

pawn Код:
Lombadas[1] = CreateObject(3865,2355.8000000,-1659.0000000,10.9000900,0.0000000,0.0000000,0.0000000); //object(concpipe_sfxrf) (1)
Lombadas[2] = CreateObject(3865,2001.9000000,-1727.2000000,10.9000000,0.0000000,0.0000000,270.0000000); //object(concpipe_sfxrf) (2)
Lombadas[3] = CreateObject(3865,2226.3000000,-1732.4000000,10.9000000,0.0000000,0.0000000,0.0000000); //object(concpipe_sfxrf) (3)
Lombadas[4] = CreateObject(3865,1543.5000000,-1732.3000000,10.9000100,0.0000000,0.0000000,0.0000000); //object(concpipe_sfxrf) (4)
Lombadas[5] = CreateObject(3865,1330.5000000,-1732.5000000,10.9000000,0.0000000,0.0000000,0.0000000); //object(concpipe_sfxrf) (5)
Lombadas[6] = CreateObject(3865,1050.9000000,-1712.4000000,10.9000000,0.0000000,0.0000000,0.0000000); //object(concpipe_sfxrf) (6)
for(new i = 0; i < 7; i++) SetObjectMaterial(Lombadas[i], 0, 19425, "speed_bumps", "speed_bump01", 0xFFFFFFFF);
vlw galera <3


Re: Erro :O - zPain - 30.04.2016

A funзгo SetObjectMaterial foi adicionada na versгo 0.3e. Suas includes foram atualizadas para uma versгo igual ou mais recente?


Respuesta: Re: Erro :O - Lucas_Rocha - 30.04.2016

Quote:
Originally Posted by zPain
Посмотреть сообщение
A funзгo SetObjectMaterial foi adicionada na versгo 0.3e. Suas includes foram atualizadas para uma versгo igual ou mais recente?
Nunca atualizei minhas include ela estгo do jeito q veio


Re: Erro :O - RiqueP - 30.04.2016

Entгo atualize uй


Respuesta: Erro :O - Lucas_Rocha - 30.04.2016

atualizei a include e deu isso

pawn Код:
C:\Users\Sla\Desktop\sv\pawno\include\dutils.inc(45) : warning 219: local variable "hour" shadows a variable at a preceding level
C:\Users\Sla\Desktop\sv\pawno\include\dutils.inc(45) : warning 219: local variable "minute" shadows a variable at a preceding level
C:\Users\Sla\Desktop\sv\pawno\include\dutils.inc(45) : warning 219: local variable "second" shadows a variable at a preceding level
C:\Users\Sla\Desktop\sv\pawno\include\dutils.inc(45) : warning 219: local variable "day" shadows a variable at a preceding level
C:\Users\Sla\Desktop\sv\pawno\include\dutils.inc(45) : warning 219: local variable "month" shadows a variable at a preceding level
C:\Users\Sla\Desktop\sv\pawno\include\dutils.inc(45) : warning 219: local variable "year" shadows a variable at a preceding level
C:\Users\Sla\Desktop\sv\gamemodes\BSG.pwn(933) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage")
C:\Users\Sla\Desktop\sv\gamemodes\BSG.pwn(1895) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Users\Sla\Desktop\sv\gamemodes\BSG.pwn(1895) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Sla\Desktop\sv\gamemodes\BSG.pwn(1895) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Users\Sla\Desktop\sv\gamemodes\BSG.pwn(1895) : 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.
mesmo sem a textura os erros continuem


Respuesta: Erro :O - Lucas_Rocha - 01.05.2016

Alguem pode me passar as includes necessaria ?

@EDIT CONSEGUI SOLUCIONAR O ERRO VALEU GALERA <3