SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 20/01/2010, 03:18 PM   #1
Slash_ziN
Little Clucker
 
Join Date: Jan 2010
Posts: 3
Reputation: 0
Default [DUV]Pawn Bugado ?!

Olá pessoal, eu sempre compilei nos gms editados Normal, foi sempre Ok.

Mas eu resolvi mudar, começar um novo. Então, eu fui, fiz um Cmd "/stats" que peguei em um blog.
Então, toda a vez que tento fazer uma coisa, aparece um monte de erro em uma Linha!
Erros:

C:\Documents and Settings\Usuario\Desktop\SAMP 0.3 Server\gamemodes\lvdm.pwn(241) : error 017: undefined symbol "mortes"
C:\Documents and Settings\Usuario\Desktop\SAMP 0.3 Server\gamemodes\lvdm.pwn(241) : warning 215: expression has no effect
C:\Documents and Settings\Usuario\Desktop\SAMP 0.3 Server\gamemodes\lvdm.pwn(241) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Usuario\Desktop\SAMP 0.3 Server\gamemodes\lvdm.pwn(241) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Usuario\Desktop\SAMP 0.3 Server\gamemodes\lvdm.pwn(241) : fatal error 107: too many error messages on one line

/\ nesse caso é o Lvdm.
Agradeço, Att: Slash.
Slash_ziN is offline   Reply With Quote
Old 20/01/2010, 03:52 PM   #2
Guilherme_Canani
Huge Clucker
 
Join Date: Nov 2009
Posts: 253
Reputation: 1
Default Re: [DUV]Pawn Bugado ?!

Posta a linha do erro
Guilherme_Canani is offline   Reply With Quote
Old 20/01/2010, 03:54 PM   #3
Slash_ziN
Little Clucker
 
Join Date: Jan 2010
Posts: 3
Reputation: 0
Default Re: [DUV]Pawn Bugado ?!

Code:
format(stringmortes,sizeof(stringmortes), "Mortes: %d",mortes[playerid]);
Eu Fiz tudo certo, fiz as arrays, tudo oq dizia no blog, mas sempre aparece esse maldito erro, em tudo que tento fazer.
Slash_ziN is offline   Reply With Quote
Old 20/01/2010, 03:55 PM   #4
Guilherme_Canani
Huge Clucker
 
Join Date: Nov 2009
Posts: 253
Reputation: 1
Default Re: [DUV]Pawn Bugado ?!

Coloca no topo new Mortes[MAX_PLAYERS]; e tenta, nem sei se vai funciona
Guilherme_Canani is offline   Reply With Quote
Old 20/01/2010, 03:57 PM   #5
Slash_ziN
Little Clucker
 
Join Date: Jan 2010
Posts: 3
Reputation: 0
Default Re: [DUV]Pawn Bugado ?!

Foi, muito obrigado cara (Y)
Slash_ziN is offline   Reply With Quote
Old 20/01/2010, 03:57 PM   #6
Guilherme_Canani
Huge Clucker
 
Join Date: Nov 2009
Posts: 253
Reputation: 1
Default Re: [DUV]Pawn Bugado ?!

Blz... se precisa avisa =)
Guilherme_Canani is offline   Reply With Quote
Old 20/01/2010, 04:06 PM   #7
John_Race
Big Clucker
 
John_Race's Avatar
 
Join Date: Aug 2009
Posts: 95
Reputation: 0
Default Re: [DUV]Pawn Bugado ?!

ok
__________________
John_Race is offline   Reply With Quote
Old 20/01/2010, 04:29 PM   #8
[O_o]Davidovich
Big Clucker
 
Join Date: Sep 2009
Posts: 140
Reputation: 0
Default Re: [DUV]Pawn Bugado ?!

No SA-MP não é que nem outras linguagens que só de você usar a variavel ela é declarada.. tu precisa por que nem o cara falou ali, "new NOME_da_VARIAVEL[MAX_PLAYERS]".. max_players = se for pra usar com "playerid" e tal, tb tem MAX_VEHICLES, e uma porrada lá..
[O_o]Davidovich is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hospital bugado.. Frodo Português/Portuguese 4 30/01/2015 04:01 AM
New to pawn, trying to convert some C code to pawn CHC Scripting Help 2 22/06/2012 05:09 AM
[AJUDA] CMD BUGADO mateusppr Português/Portuguese 1 11/05/2010 05:44 PM
[DUV]/aovivo bugado? chapolin1994 Português/Portuguese 0 21/01/2010 05:22 PM
[Pawn] [/Pawn] For Own website? How?! DeathOnaStick Everything and Nothing 2 01/11/2009 10:46 PM


All times are GMT. The time now is 08:34 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.