[Ajuda] Erro :O
#1

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
Reply
#2

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

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
Reply
#4

Entгo atualize uй
Reply
#5

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
Reply
#6

Alguem pode me passar as includes necessaria ?

@EDIT CONSEGUI SOLUCIONAR O ERRO VALEU GALERA <3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)