[DUV]pawno nгo para de dar erro...
#1

gente meu Pawn comeзo a dar erro e agora nгo para mais, alguem por favor me ajuda, so novo em pawn e nгo sei o que pode ser, eu to tentando criar meu GM do comeзo, atй agora tava tudo certo ai eu fui inserir um comando pra abrir e fechar o portao da corrida e comeзo a dar os erros, eu tentei usar o backup e deu os mesmos erro, olhem sу:
pawn Code:
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(412) : warning 217: loose indentation
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(412) : error 029: invalid expression, assumed zero
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(412) : error 004: function "OnPlayerConnect" is not implemented
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(415) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(422) : warning 225: unreachable code
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(422) : warning 217: loose indentation
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(422) : error 029: invalid expression, assumed zero
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(422) : error 004: function "OnPlayerDisconnect" is not implemented
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(424) : error 017: undefined symbol "reason"
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(426) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(429) : error 017: undefined symbol "reason"
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(439) : warning 225: unreachable code
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(439) : error 029: invalid expression, assumed zero
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(439) : error 004: function "OnPlayerRequestClass" is not implemented
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(449) : warning 225: unreachable code
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(449) : error 029: invalid expression, assumed zero
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(449) : error 004: function "OnPlayerSpawn" is not implemented
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(452) : error 004: function "SetPlayerRandomSpawn" is not implemented
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(457) : warning 225: unreachable code
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(457) : error 029: invalid expression, assumed zero
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(457) : error 004: function "SetPlayerRandomSpawn" is not implemented
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(463) : warning 225: unreachable code
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(463) : error 029: invalid expression, assumed zero
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(463) : error 004: function "OnPlayerPickUpPickup" is not implemented
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(465) : warning 219: local variable "string" shadows a variable at a preceding level
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(466) : error 017: undefined symbol "pickupid"
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(473) : warning 217: loose indentation
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(475) : warning 225: unreachable code
D:\Meu Server SA-MP\server 0.3\gamemodes\stunts.pwn(475) : warning 217: loose indentation
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


16 Errors.
vlw aguardo resposta ae =D
Reply
#2

Isso aн й alguma chave ( { ou } ) que vocк esqueceu de por. Verifique bem nas linhas prуximas aos erros.
Reply
#3

ah...

pois й eu tinha esquecido de colocar um 'return 1;' e uma '}'
valeu cara
Reply
#4

coloca isso no seu gm




#pragma tabsize 0
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)