SA-MP Forums Archive
[Ajuda] ERRO QUANDO VO COMPILAR - 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 QUANDO VO COMPILAR (/showthread.php?tid=506108)



ERRO QUANDO VO COMPILAR - Comanfis157 - 11.04.2014

pawn Код:
C:\Users\Pedro Henrque\Desktop\BVP\gamemodes\BVP.pwn(8295) : warning 202: number of arguments does not match definition
C:\Users\Pedro Henrque\Desktop\BVP\gamemodes\BVP.pwn(8306) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

Header size:           9516 bytes
Code size:          1464168 bytes
Data size:          2644248 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 4134316 bytes

2 Warnings.
AJUDA AE
linha 8295 > if(GetPlayerVehicleID(playerid, 463))
linha 8306 > if(GetPlayerVehicleID(playerid, 463))


Re: ERRO QUANDO VO COMPILAR - SkullFire - 11.04.2014

PHP код:
new veiculo;
veiculo GetPlayerVehicleID(playerid);
if(
veiculo == 463)
{
//codigo




Re: ERRO QUANDO VO COMPILAR - Comanfis157 - 11.04.2014

fala onde coloco cada um, pq ta muito confuso oq vc mando ?


Re: ERRO QUANDO VO COMPILAR - SkullFire - 11.04.2014

EDITADO sem krer ;-;


Re: ERRO QUANDO VO COMPILAR - Comanfis157 - 11.04.2014

Coloco a onde veiculo =
pawn Код:
GetPlayerVehicleID(playerid);



Re: ERRO QUANDO VO COMPILAR - SkullFire - 11.04.2014

Vei , ja te passei o cуdigo pronto. Quer o que mais ?
PHP код:
if(veiculo == 463



Re: ERRO QUANDO VO COMPILAR - Comanfis157 - 11.04.2014

Quero Saber Onde Coloco o veiculo = GetPlayerVehicleID(playerid);


Re: ERRO QUANDO VO COMPILAR - SkullFire - 11.04.2014

Coloca do jeito que te mandei, no topo .


Re: ERRO QUANDO VO COMPILAR - Comanfis157 - 11.04.2014

pawn Код:
C:\Users\Pedro Henrque\Desktop\BVP\gamemodes\BVP.pwn(57) : error 010: invalid function or declaration
C:\Users\Pedro Henrque\Desktop\BVP\gamemodes\BVP.pwn(8298) : warning 202: number of arguments does not match definition
C:\Users\Pedro Henrque\Desktop\BVP\gamemodes\BVP.pwn(15608) : warning 219: local variable "veiculo" shadows a variable at a preceding level
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.



Re: ERRO QUANDO VO COMPILAR - SkullFire - 11.04.2014

Topo
PHP код:
new veiculo
veiculo GetPlayerVehicleID(playerid);
if(
veiculo == 463

//codigo 

rs, malz ae pela bobeira que dei . Coloca esse cуdigo por inteiro no lugar do qual vocк substituiu .