[Ajuda] Estou com problema. Ajuda-me
#1

Ola Galera, Meu nome й Adailton e vou ser rбpido.

Estou com esses erros aqui

pawn Код:
C:\Users\a\Desktop\GM 0.3z Versгo щnica\gamemodes\BPW03z.pwn(25801) : error 017: undefined symbol "strlabel"
C:\Users\a\Desktop\GM 0.3z\gamemodes\BPW03z.pwn(25801) : error 017: undefined symbol "strlabel"
C:\Users\a\Desktop\GM 0.3z\gamemodes\BPW03z.pwn(25801) : error 029: invalid expression, assumed zero
C:\Users\a\Desktop\GM 0.3z\gamemodes\BPW03z.pwn(25801) : 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.
Linha do Erro 25801
pawn Код:
format(strlabel, sizeof(strlabel), STRTEXT3D_CONCE_VENDA, GetVehicleName(dini_Int(string2, "Id")), dini_Get(string2, "Dono"), dini_Int(string2, "Preco"), carro, "Novo");
Jб tentei resolver, mais nгo conseguir. Quem puder me ajudar; fico muito

Desculpe o Erro no Portuguкs

Obrigado a Todos.
Reply
#2

Vocк nгo definiu a array strlabel.
pawn Код:
new strlabel[celulas];
Troque celular pelo numero de caracteres que a mensagem contйm.
Reply
#3

Quote:
Originally Posted by MultiKill
Посмотреть сообщение
Vocк nгo definiu a array strlabel.
pawn Код:
new strlabel[celulas];
Troque celular pelo numero de caracteres que a mensagem contйm.
Agora deu esses Warning
Nгo entendo muito disso, coloquei new strlabel[256];

pawn Код:
C:\Users\a\Desktop\GM 0.3z\gamemodes\Dten03x.pwn(4866) : warning 219: local variable "strlabel" shadows a variable at a preceding level
C:\Users\a\Desktop\GM 0.3z\gamemodes\BPW03z.pwn(5085) : warning 219: local variable "strlabel" shadows a variable at a preceding level
C:\Users\a\Desktop\GM 0.3z\gamemodes\BPW03z.pwn(6441) : warning 219: local variable "strlabel" shadows a variable at a preceding level
C:\Users\a\Desktop\GM 0.3z\gamemodes\BPW03z.pwn(6713) : warning 219: local variable "strlabel" shadows a variable at a preceding level
C:\Users\a\Desktop\GM 0.3z\gamemodes\BPW03z.pwn(23000) : warning 219: local variable "strlabel" shadows a variable at a preceding level
C:\Users\a\Desktop\GM 0.3z\gamemodes\BPW03z.pwn(23366) : warning 219: local variable "strlabel" shadows a variable at a preceding level
C:\Users\a\Desktop\GM 0.3z\gamemodes\BPW03z.pwn(24533) : warning 219: local variable "strlabel" shadows a variable at a preceding level
C:\Users\a\Desktop\GM 0.3z\gamemodes\BPW03z.pwn(24618) : warning 219: local variable "strlabel" shadows a variable at a preceding level
C:\Users\a\Desktop\GM 0.3z\gamemodes\BPW03z.pwn(24685) : warning 219: local variable "strlabel" shadows a variable at a preceding level
C:\Users\a\Desktop\GM 0.3z\gamemodes\BPW03z.pwn(33394) : warning 219: local variable "strlabel" shadows a variable at a preceding level
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase

Header size:           9972 bytes
Code size:          1340984 bytes
Data size:          3978608 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 5345948 bytes

10 Warnings.
@EDIT

Aqui estгo бs Linhas

Linha 4866
pawn Код:
new preco, strlabel[256];
Linha 5085
pawn Код:
new conceid, carroid, strlabel[256];
Linha 6441
pawn Код:
new conceid, limite = MAX_PLAYER_CONCE, strlabel[256];
Linha 6713
pawn Код:
new carroid, strlabel[256];
Linha 23000
pawn Код:
new vid, strlabel[256],
Linha 23366
pawn Код:
limite = MAX_PLAYER_CONCE, strlabel[256];
Linha 24533
pawn Код:
new vid = GetPlayerVehicleID(playerid), strlabel[256];
Linha 24618
pawn Код:
new carroid, strlabel[256];
Linha 24685
pawn Код:
new VehicleID = GetPlayerVehicleID(playerid), strlabel[256];
Щltima Linha 33394
pawn Код:
carroid, limite = MAX_PLAYER_CONCE, strlabel[256];
Reply
#4

Vocк criou uma array chamada strlabel local e uma global, ou seja, vocк criou uma dentro de uma callback e uma no topo do GM.
Reply
#5

Quote:
Originally Posted by MultiKill
Посмотреть сообщение
Vocк criou uma array chamada strlabel local e uma global, ou seja, vocк criou uma dentro de uma callback e uma no topo do GM.
Valeu, eu conseguir, Tirei da Callback e deixei no topo do GM e funcionou. Obrigadoooo!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)