[AJUDA]Comandos da casa dando error PLease!
#1

tipo coloquei uns comandos no meu gm! De criar casa.. /deletarcasa.. /preco casa.. etc!

E da esses erros

Код:
E:\Game City\gamemodes\BGC.pwn(2538) : error 017: undefined symbol "MAX_CASAS"
E:\Game City\gamemodes\BGC.pwn(2547) : error 017: undefined symbol "GetCasas"
E:\Game City\gamemodes\BGC.pwn(2584) : error 017: undefined symbol "MAX_CASAS"
E:\Game City\gamemodes\BGC.pwn(2615) : error 017: undefined symbol "MAX_CARROS"
E:\Game City\gamemodes\BGC.pwn(2647) : error 017: undefined symbol "MAX_CASAS"
E:\Game City\gamemodes\BGC.pwn(2660) : error 017: undefined symbol "morar"
E:\Game City\gamemodes\BGC.pwn(2660) : warning 215: expression has no effect
E:\Game City\gamemodes\BGC.pwn(2660) : error 001: expected token: ";", but found "]"
E:\Game City\gamemodes\BGC.pwn(2660) : error 029: invalid expression, assumed zero
E:\Game City\gamemodes\BGC.pwn(2660) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


9 Errors.
Alguem por favor pelo amor de deus poderia me ajudar?
Reply
#2

Sem o code seria impossнvel te ajudar ...
Reply
#3

Quote:
Originally Posted by Yakushi Icefox
Посмотреть сообщение
Sem o code seria impossнvel te ajudar ...
Como assim cod? o codigo q ta no panwo? me explica sou novo nisso '-'
Reply
#4

https://sampwiki.blast.hk/wiki/Scripting_Basics
https://sampwiki.blast.hk/wiki/Category:Scripting_Functions
https://sampwiki.blast.hk/wiki/Category:Scripting_Callbacks
Reply
#5

tROQUEI DE GAME MOD! sO Q QUANDO VO COMPILAR TA DANDO ESSES ERROS:
Код:
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2076) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2077) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2078) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2079) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2080) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2081) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2082) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2091) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2092) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2093) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2090) : warning 204: symbol is assigned a value that is never used: "index"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2637) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2637) : error 033: array must be indexed (variable "cmd")
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2860) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2860) : error 033: array must be indexed (variable "tmp")
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2898) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2898) : error 033: array must be indexed (variable "tmp")
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2904) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2904) : error 033: array must be indexed (variable "tmp")
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2941) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2941) : error 033: array must be indexed (variable "tmp")
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2962) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(2962) : error 033: array must be indexed (variable "tmp")
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(3031) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(3031) : error 033: array must be indexed (variable "tmp")
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(3062) : error 017: undefined symbol "strtok"
C:\Users\VitorSilva\Desktop\Servidor BWE\gamemodes\BWE.pwn(3062) : error 033: array must be indexed (variable "tmp")

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#6

pawn Код:
#define MAX_CASAS 666 // Mude o '666' para o numero de casas presentes em seu servidor.
#define MAX_CARROS 666 // Mude o '666' para o numero de carros presentes em seu servidor.
pawn Код:
new morar[MAX_PLAYERS]; // Topo GM
Reply
#7

Quote:
Originally Posted by Shickcard
Посмотреть сообщение
pawn Код:
#define MAX_CASAS 666 // Mude o '666' para o numero de casas presentes em seu servidor.
#define MAX_CARROS 666 // Mude o '666' para o numero de carros presentes em seu servidor.
pawn Код:
new morar[MAX_PLAYERS]; // Topo GM
Fiz oq vc pediiu :

E:\Game City\gamemodes\BGC.pwn(2550) : error 017: undefined symbol "GetCasas"
E:\Game City\gamemodes\BGC.pwn(2664) : error 017: undefined symbol "moradia"
E:\Game City\gamemodes\BGC.pwn(2664) : warning 215: expression has no effect
E:\Game City\gamemodes\BGC.pwn(2664) : error 001: expected token: ";", but found "]"
E:\Game City\gamemodes\BGC.pwn(2664) : error 029: invalid expression, assumed zero
E:\Game City\gamemodes\BGC.pwn(2664) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Reply
#8

Код:
new GetCasas[MAX_PLAYERS], moradia[MAX_PLAYERS];
Reply
#9

Quote:
Originally Posted by Gabriel Duarte
Посмотреть сообщение
Код:
new GetCasas[MAX_PLAYERS], moradia[MAX_PLAYERS];
GetCasas estб mais para nome de uma funзгo do que para uma variбvel, mas enfim ._.'
Reply
#10

Quote:
Originally Posted by Gabriel Duarte
Посмотреть сообщение
Код:
new GetCasas[MAX_PLAYERS], moradia[MAX_PLAYERS];
Tabem foi! MAIS..

Код:
E:\Game City\gamemodes\BGC.pwn(2551) : error 012: invalid function call, not a valid address
E:\Game City\gamemodes\BGC.pwn(2551) : warning 215: expression has no effect
E:\Game City\gamemodes\BGC.pwn(2551) : error 001: expected token: ";", but found ")"
E:\Game City\gamemodes\BGC.pwn(2551) : error 029: invalid expression, assumed zero
E:\Game City\gamemodes\BGC.pwn(2551) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
LInha 2551=
Код:
    if(GetCasas(playerid) < 1){
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)