[Ajuda] Ajuda com Erros
#1

Eu estou com 1 problema tenho aqui uns erros no gamemode.

Erros:
PHP код:
C:\Users\Bruno\Desktop\Meu GameMode\gamemodes\RP-SD.pwn(49) : error 017undefined symbol "strtok"
C:\Users\Bruno\Desktop\Meu GameMode\gamemodes\RP-SD.pwn(49) : error 033: array must be indexed (variable "cmd")
C:\Users\Bruno\Desktop\Meu GameMode\gamemodes\RP-SD.pwn(52) : warning 217loose indentation
C
:\Users\Bruno\Desktop\Meu GameMode\gamemodes\RP-SD.pwn(57) : error 017undefined symbol "PlayerInfo"
C:\Users\Bruno\Desktop\Meu GameMode\gamemodes\RP-SD.pwn(57) : warning 215expression has no effect
C
:\Users\Bruno\Desktop\Meu GameMode\gamemodes\RP-SD.pwn(57) : error 001expected token";"but found "]"
C:\Users\Bruno\Desktop\Meu GameMode\gamemodes\RP-SD.pwn(57) : error 029invalid expressionassumed zero
C
:\Users\Bruno\Desktop\Meu GameMode\gamemodes\RP-SD.pwn(57) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
6 Errors

Linhas dos Erros:
PHP код:
44 public OnPlayerCommandText(playeridcmdtext[])
45 {
46    new string[256];
47    new cmd[256];
48    new idx;
49    cmd strtok(cmdtextidx);
50    new tmp[256];
51     new giveplayerid;
52 if(strcmp(cmd"/rota"true) == 0)
53        {
54            new vehicleid GetPlayerVehicleID(playerid);
55            if(GetVehicleModel(vehicleid) == 431)
56            {
57                if(PlayerInfo[playerid][pJob] == 7
Reply


Messages In This Thread
Ajuda com Erros - by brunoboy - 10.05.2013, 23:52
Re : Ajuda com Erros - by brunoboy - 11.05.2013, 11:28
Re: Ajuda com Erros - by Don_Speed - 11.05.2013, 11:41
Re : Ajuda com Erros - by brunoboy - 11.05.2013, 11:45
Re: Ajuda com Erros - by Don_Speed - 11.05.2013, 11:55

Forum Jump:


Users browsing this thread: 1 Guest(s)