SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 06/10/2012, 09:20 PM   #1
Walking
Big Clucker
 
Join Date: Sep 2012
Posts: 74
Reputation: 0
Default ajuda strtok

PHP Code:
C:\Users\Gustavo\Desktop\Nova pasta (2)\pawno\include\fire.inc(46) : warning 217loose indentation
C
:\Users\Gustavo\Desktop\Nova pasta (2)\pawno\include\fire.inc(183) : warning 217loose indentation
C
:\Users\Gustavo\Desktop\Nova pasta (2)\pawno\include\fire.inc(184) : warning 217loose indentation
C
:\Users\Gustavo\Desktop\Nova pasta (2)\pawno\include\fire.inc(192) : warning 217loose indentation
C
:\Users\Gustavo\Desktop\Nova pasta (2)\pawno\include\fire.inc(193) : warning 217loose indentation
C
:\Users\Gustavo\Desktop\Nova pasta (2)\pawno\include\SAMsites0.4.inc(360) : error 004: function "OnSamSiteRestarted" is not implemented
C
:\Users\Gustavo\Desktop\Nova pasta (2)\pawno\include\OnPlayerPause.inc(49) : warning 217loose indentation
C
:\Users\Gustavo\Desktop\Nova pasta (2)\pawno\include\OnPlayerPause.inc(56) : warning 217loose indentation
C
:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33207) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33207) : error 033: array must be indexed (variable "cmd")
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33278) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33277) : warning 203symbol is never used"lidx"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33518) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33518) : error 033: array must be indexed (variable "tmp")
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33541) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33541) : error 033: array must be indexed (variable "tmp")
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33567) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33567) : error 033: array must be indexed (variable "tmp")
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33920) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33920) : error 033: array must be indexed (variable "tmp")
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33927) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(33927) : error 033: array must be indexed (variable "tmp")
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(34452) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(34452) : error 033: array must be indexed (variable "tmp")
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(34490) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(34490) : error 033: array must be indexed (variable "tmp")
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(34526) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(34526) : error 033: array must be indexed (variable "tmp")
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(34566) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(34566) : error 033: array must be indexed (variable "tmp")
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(34590) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(34590) : error 033: array must be indexed (variable "tmp")
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(34612) : error 017undefined symbol "strtok"
C:\Users\Gustavo\Desktop\Nova pasta (2)\gamemodes\BUD.pwn(34612) : error 033: array must be indexed (variable "tmp")

Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase


26 Errors

Walking is offline   Reply With Quote
Old 06/10/2012, 09:37 PM   #2
.FuneraL.
High-roller
 
.FuneraL.'s Avatar
 
Join Date: Feb 2012
Location: Pawno.exe
Posts: 2,081
Reputation: 146
Default Re: ajuda strtok

Provavelmente Erros de Chaves, Falta alguma pra Fechar.
.FuneraL. is offline   Reply With Quote
Old 06/10/2012, 09:41 PM   #3
tonisantolia
High-roller
 
tonisantolia's Avatar
 
Join Date: Aug 2011
Posts: 1,617
Reputation: 116
Default Re: ajuda strtok

Poe isso no final do GM
pawn Code:
strtok(const string[], &index)
{
    new length = strlen(string);
    while ((index < length) && (string[index] <= ' '))
    {
        index++;
    }
 
    new offset = index;
    new result[20];
    while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
    {
        result[index - offset] = string[index];
        index++;
    }
    result[index - offset] = EOS;
    return result;
}

Se der +erros poste eles e destaque as linhas..
tonisantolia 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]strtok kshorro Português/Portuguese 8 03/12/2011 02:29 AM
[AJUDA] Strtok crush_ Português/Portuguese 5 04/06/2011 08:38 PM
[AJUDA]strtok rene20 Português/Portuguese 17 25/03/2011 10:35 PM
[AJUDA] 1 warn strtok Zina Português/Portuguese 9 09/10/2010 10:41 PM
[Ajuda] strtok Dr_Pawno Português/Portuguese 1 15/06/2010 05:19 PM


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


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