[Ajuda] Texto3DVeiculo
#1

estou colocando do jeito que esta ai em baixo mais nгo esta aparecendo nas motos modelo 462 "Veiculo Civil"

PHP код:
// Topo do GM
new Text3D:Texto3DVeiculo[MAX_VEHICLES];
// OnGameModeInit
for(new i=0i<MAX_VEHICLESi++)
{
    if(
GetVehicleModel(i) == 462)
    {
        
Texto3DVeiculo[i] = Create3DTextLabel("Veнculo Civil",0xFF0000AA,0.0,0.0,0.0,100.0,0,0);
        
Attach3DTextLabelToVehicle(Texto3DVeiculo[i],i,0.0,0.0,2.0);
    }

alguйm pode ajudar ae ? REP++
Reply
#2

Tenta assim:
pawn Код:
for(new i=0; i<MAX_VEHICLES; i++)
    {
        if(GetVehicleModel(i) == 462)
        {
            format(string, sizeof string, "Veнculo Civil");
            Texto3DVeiculo[i] = Create3DTextLabel(string, 0xFF0000AA, 0.0, 0.0, 0.0, 10.0, 0);
            Attach3DTextLabelToVehicle(Texto3DVeiculo[i],i, 0.0, 0.0, 0.0);
        }
    }
Reply
#3

3 erros so muito noob nй kkk
Quote:

C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.2\gamemodes\bph.pwn(4210) : error 017: undefined symbol "string"
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.2\gamemodes\bph.pwn(4210) : error 017: undefined symbol "string"
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.2\gamemodes\bph.pwn(4211) : error 017: undefined symbol "string"
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.2\gamemodes\bph.pwn(11956) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.

Reply
#4

Jб tinha previsto kk
pawn Код:
for(new i=0; i<MAX_VEHICLES; i++)
    {
        if(GetVehicleModel(i) == 462)
        {
            new string[15];
            format(string, sizeof string, "Veнculo Civil");
            Texto3DVeiculo[i] = Create3DTextLabel(string, 0xFF0000AA, 0.0, 0.0, 0.0, 10.0, 0);
            Attach3DTextLabelToVehicle(Texto3DVeiculo[i],i, 0.0, 0.0, 0.0);
        }
    }
Reply
#5

nгo sei pq mais ainda nгo esta indo tipo no pawn fala que ta de boa mais no jogo nгo ta aparecendo o texto 3d nas motos Faggio tem alguma sugestгo do que deve ser ?
Reply
#6

Faz assim:

pawn Код:
//retired
Os carros posicionados acima, sгo do meu sv, usei apenas como exemplo.
Reply
#7

deu os seguintes erros :
Quote:

C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.21\gamemodes\bph.pwn(4217) : error 017: undefined symbol "string"
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.21\gamemodes\bph.pwn(4217) : error 017: undefined symbol "string"
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.21\gamemodes\bph.pwn(4217) : warning 215: expression has no effect
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.21\gamemodes\bph.pwn(4217) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.21\gamemodes\bph.pwn(4217) : fatal error 107: too many error messages on one line

Reply
#8

Cria a variбvel string.
pawn Код:
new string[15];
Reply
#9

mais erros
Quote:

C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.2\pawno\include\streamer.inc(155) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.2\pawno\include\streamer.inc(375) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.2\pawno\include\streamer.inc(397) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.2\pawno\include\streamer.inc(399) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.21\gamemodes\bph.pwn(421 : error 017: undefined symbol "veehName"
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.21\gamemodes\bph.pwn(421 : warning 215: expression has no effect
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.21\gamemodes\bph.pwn(421 : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.21\gamemodes\bph.pwn(421 : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrador\Desktop\-[Server GTA]- Brasil Start Life\2.21\gamemodes\bph.pwn(421 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


6 Errors.
Reply
#10

A sua include e plugin streamer estб desatualizada, atualize-as junto com o plugin.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)