SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 18/01/2010, 12:21 AM   #11
bRn
Big Clucker
 
bRn's Avatar
 
Join Date: Jun 2009
Posts: 145
Reputation: 0
Default Re: [AJUDA] Em corrigir 43 Warnings

Quote:
Puts eu errei, tipo
Coloca uma ")" depois do 0.0
ja fiz isso

EDIT: Ai galera tirei o script do fs CarMenu do meu gamemode, mas continua com 14 warnings

Code:
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(898) : warning 202: number of arguments does not match definition
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3720) : warning 212: possibly unintended bitwise operation
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3720) : warning 213: tag mismatch
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3720) : warning 212: possibly unintended bitwise operation
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3720) : warning 213: tag mismatch
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3865) : warning 219: local variable "Coach2" shadows a variable at a preceding level
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3872) : warning 219: local variable "Taxi1" shadows a variable at a preceding level
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3878) : warning 219: local variable "Stunter" shadows a variable at a preceding level
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3932) : warning 235: public function lacks forward declaration (symbol "DeletePickup")
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3974) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(4946) : warning 202: number of arguments does not match definition
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(4960) : warning 202: number of arguments does not match definition
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3982) : warning 203: symbol is never used: "idx"
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3982 -- 5277) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


14 Warnings.
Alguem sabe como posso resolver?
__________________
...
bRn is offline   Reply With Quote
Old 18/01/2010, 12:50 AM   #12
Guilherme_Canani
Huge Clucker
 
Join Date: Nov 2009
Posts: 253
Reputation: 1
Default Re: [AJUDA] Em corrigir 43 Warnings

Manda as linhas mano e não use [ code ] use [ pawn ]
Guilherme_Canani is offline   Reply With Quote
Old 18/01/2010, 01:10 AM   #13
bRn
Big Clucker
 
bRn's Avatar
 
Join Date: Jun 2009
Posts: 145
Reputation: 0
Default Re: [AJUDA] Em corrigir 43 Warnings

Consegui corrigir umas, restam 9

Code:
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3853) : warning 219: local variable "Coach2" shadows a variable at a preceding level
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3860) : warning 219: local variable "Taxi1" shadows a variable at a preceding level
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3866) : warning 219: local variable "Stunter" shadows a variable at a preceding level
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3920) : warning 235: public function lacks forward declaration (symbol "DeletePickup")
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3962) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(4949) : warning 202: number of arguments does not match definition
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(4963) : warning 202: number of arguments does not match definition
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3970) : warning 203: symbol is never used: "idx"
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3970 -- 5280) : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange")
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


9 Warnings.
Linha 3853
pawn Code:
new Text3D:Coach2 = Create3DTextLabel("NPC_CoachDriver(ID:6)",0x33AA33AA,30.0,40.0,50.0,40.0,0);

Linha 3860
pawn Code:
new Text3D:Taxi1 = Create3DTextLabel("NPC_TaxiDriver(ID:7)",0x33AA33AA,30.0,40.0,50.0,40.0,0);

Linha 3866
pawn Code:
new Text3D:Stunter = Create3DTextLabel("NPC_Stunter(ID:8)",0x33AA33AA,30.0,40.0,50.0,40.0,0);

Linha 3920
pawn Code:
public DeletePickup(pickupid)

Linha 3962
pawn Code:
public OnPlayerPrivmsg(playerid, recieverid, text[])

Linha 4949
pawn Code:
SetVehiclePos(VehicleID,1252.1823,-1217.0358,562.3882,268.8181);

Linha 4963
pawn Code:
SetPlayerPos(playerid, 1252.1823,-1217.0358,562.3882,268.8181);

Linha 3970
pawn Code:
new idx;

help

__________________
...
bRn is offline   Reply With Quote
Old 19/01/2010, 01:06 PM   #14
netado
Big Clucker
 
Join Date: Dec 2009
Posts: 140
Reputation: 1
Default Re: [AJUDA] Em corrigir 43 Warnings

netado is offline   Reply With Quote
Old 19/01/2010, 01:59 PM   #15
[O_o]Davidovich
Big Clucker
 
Join Date: Sep 2009
Posts: 140
Reputation: 0
Default Re: [AJUDA] Em corrigir 43 Warnings

Tira o
pawn Code:
public OnPlayerPrivmsg()
essa função não existe mais no 0.3
[O_o]Davidovich is offline   Reply With Quote
Old 19/01/2010, 11:04 PM   #16
SlashPT
High-roller
 
SlashPT's Avatar
 
Join Date: Sep 2009
Location: Hell
Posts: 1,973
Reputation: 116
Default Re: [AJUDA] Em corrigir 43 Warnings

E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3853) : warning 219: local variable "Coach2" shadows a variable at a preceding level =====> Veja se ja noa existe outro New com o mesmo nome "Coach2" apague esse que esta a mais
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3860) : warning 219: local variable "Taxi1" shadows a variable at a preceding level =====> Igual a antes mas agota "Taxi1"
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3866) : warning 219: local variable "Stunter" shadows a variable at a preceding level =====> Igual a antes mas agota "Stunter"

E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3920) : warning 235: public function lacks forward declaration (symbol "DeletePickup") ======= > public DeletePickup(pickupid) nao sei como vc aranjou isso...
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3962) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg") ======= > Apague
Code:
public OnPlayerPrivmsg(playerid, recieverid, text[])
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(4949) : warning 202: number of arguments does not match definition =====>
Code:
SetVehiclePos(VehicleID, 1252.1823, -1217.0358, 562.3882);
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(4963) : warning 202: number of arguments does not match definition
=====>
Code:
SetPlayerPos(playerid, 1252.1823,-1217.0358,562.3882);
E:\Documents and Settings\Bruno\Meus documentos\LDStunts.pwn(3970) : warning 203: symbol is never used: "idx" =====> Apague
Code:
new idx;
espero que ajude
__________________

Zh3r0Jansish
SlashPT is offline   Reply With Quote
Old 20/01/2010, 02:34 AM   #17
bRn
Big Clucker
 
bRn's Avatar
 
Join Date: Jun 2009
Posts: 145
Reputation: 0
Default Re: [AJUDA] Em corrigir 43 Warnings

Obrigado a todos que ajudaram, 0 warnings agora
__________________
...
bRn is offline   Reply With Quote
Old 20/01/2010, 10:03 AM   #18
GhOsT[X]
Big Clucker
 
Join Date: Dec 2009
Posts: 66
Reputation: 0
Default Re: [AJUDA] Em corrigir 43 Warnings

Quote:
PAWN Code:
public DeletePickup(pickupid)
Linha 3962
forward DeletePickup(pickupid);
GhOsT[X] is offline   Reply With Quote
Old 20/01/2010, 02:10 PM   #19
SlashPT
High-roller
 
SlashPT's Avatar
 
Join Date: Sep 2009
Location: Hell
Posts: 1,973
Reputation: 116
Default Re: [AJUDA] Em corrigir 43 Warnings

nao ha problema (eu tinha 301 warnings mas nao me apatecia aranjar tudo :P mas agora tem 0)
__________________

Zh3r0Jansish
SlashPT 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
[ajuda]warnings thekila22 Português/Portuguese 4 24/06/2010 04:42 PM
[AJUDA]Corrigir Erros angels182 Português/Portuguese 7 19/06/2010 03:03 AM
[AJUDA] WARNINGS ! higoroliveira22 Português/Portuguese 8 15/06/2010 09:33 PM
[AJUDA]Warnings and Errors hudsonramos10 Português/Portuguese 15 16/03/2010 07:57 PM
Aff, essas warnings -.- AJUDA AE! Joaquim_Blakman Português/Portuguese 10 09/02/2010 06:32 PM


All times are GMT. The time now is 12:04 PM.


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