error 021 ao copilar -
atsbs - 14.08.2011
tentado passa um mapa do mta para o samp deu esse error eo server nao abre
error :
PHP код:
C:\Documents and Settings\Antonio\Desktop\samp host\gamemodes\ls_elevator.pwn(504) : error 021: symbol already defined: "AddStaticVehicleEx"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
part do error:
PHP код:
AddStaticVehicleEx(487,90.59968567,42.67777252,0.87437510,0.00000000,-1,-1,15); //Maverick
AddStaticVehicleEx(520,74.38094330,41.27879333,1.52895069,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,97.87326050,15.44514084,1.52895069,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(476,73.30130768,15.98223209,1.77952766,0.00000000,-1,-1,15); //Rustler
CreateObject(5064,2444.20410156,-1663.90234375,31.81777954,0.00000000,0.00000000,0.00000000); //object(trntrk5z_las) (1)
CreateObject(5064,2524.10864258,-1663.90234375,31.82400703,0.00000000,0.00000000,0.00000000); //object(trntrk5z_las) (2)
CreateObject(5064,2365.62402344,-1663.90246582,31.81777954,0.00000000,0.00000000,0.00000000); //object(trntrk5z_las) (1)
Re: error 021 ao copilar -
[AF]Junior - 14.08.2011
Colocou na callback OnGameModeInit?
Re: error 021 ao copilar -
MaGnO_357 - 14.08.2011
atualize as suas includes e e certifiquei que vc colocou certo dentro do OnGameModeInit() exemplo:
pawn Код:
public OnGameModeInit()
{
AddStaticVehicleEx(411,2798.66210938,821.74310303,338.88787842,0.00000000,-1,-1,15);
return 1;
}
Re: error 021 ao copilar -
atsbs - 14.08.2011
ok irei ver
Re: error 021 ao copilar -
atsbs - 14.08.2011
coloquei o o resutado foi esse
error
[PHP]C:\Documents and Settings\Antonio\Desktop\samp host\gamemodes\ls_elevator.pwn(511) : error 021: symbol already defined: "OnGameModeInit"
C:\Documents and Settings\Antonio\Desktop\samp host\gamemodes\ls_elevator.pwn(517) : error 021: symbol already defined: "OnGameModeInit"
C:\Documents and Settings\Antonio\Desktop\samp host\gamemodes\ls_elevator.pwn(523) : error 021: symbol already defined: "OnGameModeInit"
C:\Documents and Settings\Antonio\Desktop\samp host\gamemodes\ls_elevator.pwn(529) : error 021: symbol already defined: "OnGameModeInit"
C:\Documents and Settings\Antonio\Desktop\samp host\gamemodes\ls_elevator.pwn(535) : error 021: symbol already defined: "OnGameModeInit"
C:\Documents and Settings\Antonio\Desktop\samp host\gamemodes\ls_elevator.pwn(541) : error 021: symbol already defined: "OnGameModeInit"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.[PHP]
como ficou:
[PHP]public OnGameModeInit()
{
AddStaticVehicleEx(487,90.59968567,42.67777252,0.8 7437510,0.00000000,-1,-1,15); //Maverick
return 1;
}
public OnGameModeInit()
{
AddStaticVehicleEx(520,74.38094330,41.27879333,1.5 2895069,0.00000000,-1,-1,15); //Hydra
return 1;
}
public OnGameModeInit()
{
AddStaticVehicleEx(520,97.87326050,15.44514084,1.5 2895069,0.00000000,-1,-1,15); //Hydra
return 1;
}
public OnGameModeInit()
{
AddStaticVehicleEx(476,73.30130768,15.98223209,1.7 7952766,0.00000000,-1,-1,15); //Rustler
return 1;
}
public OnGameModeInit()
{
CreateObject(5064,2444.20410156,-1663.90234375,31.81777954,0.00000000,0.00000000,0. 00000000); //object(trntrk5z_las) (1)
return 1;
}
public OnGameModeInit()
{
CreateObject(5064,2524.10864258,-1663.90234375,31.82400703,0.00000000,0.00000000,0. 00000000); //object(trntrk5z_las) (2)
return 1;
}
public OnGameModeInit()
{
CreateObject(5064,2365.62402344,-1663.90246582,31.81777954,0.00000000,0.00000000,0. 00000000); //object(trntrk5z_las) (1)
return 1;
}[PHP]
Re: error 021 ao copilar -
[AF]Junior - 14.08.2011
Nгo precisa de 1000000000000 ongamemodeinit.
Apaga esses ongamemodeinit e sу pхe esse:
pawn Код:
public OnGameModeInit()
{
AddStaticVehicleEx(487,90.59968567,42.67777252,0.87437510,0.00000000,-1,-1,15); //Maverick
AddStaticVehicleEx(520,74.38094330,41.27879333,1.52895069,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(520,97.87326050,15.44514084,1.52895069,0.00000000,-1,-1,15); //Hydra
AddStaticVehicleEx(476,73.30130768,15.98223209,1.77952766,0.00000000,-1,-1,15); //Rustler
CreateObject(5064,2444.20410156,-1663.90234375,31.81777954,0.00000000,0.00000000,0.00000000); //object(trntrk5z_las) (1)
CreateObject(5064,2524.10864258,-1663.90234375,31.82400703,0.00000000,0.00000000,0.00000000); //object(trntrk5z_las) (2)
CreateObject(5064,2365.62402344,-1663.90246582,31.81777954,0.00000000,0.00000000,0.00000000); //object(trntrk5z_las) (1)
return 1;
}
Ajudei? REPUTATION
@EDIT
й [php] e nгo [PHP]
Re: error 021 ao copilar -
Lipe_Stronda - 14.08.2011
Procure por Gamemodeinit e ponha os veiculos lб, voces estao passando o negocio completo, ai ele estб CAFUSO
Re: error 021 ao copilar -
atsbs - 14.08.2011
vlw cara pegou muito obrigada.
Re: error 021 ao copilar -
MaGnO_357 - 14.08.2011
hehe [AF]Junior estб certo, eu apenas citei um exemplo de onde deve ficar o Codigo rsrs ele interpleto mal mais ta de boa ja foi resolvido xD
Re: error 021 ao copilar -
[AF]Junior - 14.08.2011
Clica em
REPUTATION
PLSSSSSSSSSSS
Magno, acontece