SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 24/09/2019, 04:09 PM   #1
Felpz
Huge Clucker
 
Felpz's Avatar
 
Join Date: Apr 2017
Posts: 205
Reputation: 4
Default warnings no code

Fiz um Enumerador para criar algumas coisa para cada BOT claro.. Mais estou com esses erros que n sei bem oque é.

Erro:

PHP Code:
C:\Users\Felpz\Desktop\aq.pwn(12) : warning 227more initiallers than enum fields
C
:\Users\Felpz\Desktop\aq.pwn(12) : warning 213tag mismatch
C
:\Users\Felpz\Desktop\aq.pwn(12) : warning 227more initiallers than enum fields
C
:\Users\Felpz\Desktop\aq.pwn(12) : warning 213tag mismatch
C
:\Users\Felpz\Desktop\aq.pwn(12) : warning 227more initiallers than enum fields
C
:\Users\Felpz\Desktop\aq.pwn(12) : warning 213tag mismatch
C
:\Users\Felpz\Desktop\aq.pwn(12) : error 018initialization data exceeds declared size
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase


1 Error

Code:

PHP Code:
enum DATA_ACTOR
{
    
FloatACTOR_POS[4]
}

new 
BUYER_ACTOR[][DATA_ACTOR] =
{
    {
2175.9387, -1714.605513.5429267.6284}, // inicio dos warnings / error
    
{2015.4384, -1030.532524.796179.1513},
    {
1072.3854, -1889.830913.54692.5947},
    {
361.1163, -1760.72095.570794.8703},
    {
2312.0962, -1222.437724.118496.8931},
    {
1395.6145, -914.012335.614281.1822},
    {
1044.3667, -1233.315816.7243274.3423}
}; 
Felpz is offline   Reply With Quote
Old 24/09/2019, 04:45 PM   #2
ipsLuan
High-roller
 
ipsLuan's Avatar
 
Join Date: Feb 2013
Location: Ilhéus, BA
Posts: 4,423
Reputation: 326
Default Re: warnings no code

Tente deste modo:
PHP Code:
new BUYER_ACTOR[][] =
{
    {
2175.9387, -1714.605513.5429267.6284},
    {
2015.4384, -1030.532524.796179.1513},
    {
1072.3854, -1889.830913.54692.5947},
    {
361.1163, -1760.72095.570794.8703},
    {
2312.0962, -1222.437724.118496.8931},
    {
1395.6145, -914.012335.614281.1822},
    {
1044.3667, -1233.315816.7243274.3423}
}; 
__________________
Brasil New Style
172.106.11.138:7777
ipsLuan 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
5 warnings << unreachable code / warning variable DavidGravelli Scripting Help 1 22/06/2018 08:35 AM
Code's For ClansWar - Need To change and got warnings kesem140599 Scripting Help 1 06/10/2012 08:43 PM
[Tool/Web/Other] Code Highlighter - Highlight code to find brackets, organize code, ... Sinner Tools and Files 8 09/03/2012 02:28 PM
[AJUDA]Warnings Mt Warnings Fuuu 4LiSs0N Português/Portuguese 3 11/01/2012 11:24 AM
3 warnings whats wrong with this code? killdahobo99 Help Archive 4 01/08/2009 01:53 AM


All times are GMT. The time now is 08:08 AM.


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