[Ajuda] Como resolver ?
#1

pawn Code:
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(306) : warning 209: function "OnPlayerRequestClass" should return a value
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(324) : error 012: invalid function call, not a valid address
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(324) : warning 215: expression has no effect
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(324) : error 001: expected token: ";", but found ")"
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(324) : error 029: invalid expression, assumed zero
C:\Users\Marcelo\Documents\Servers\samp03x_svr_R1-2_win32\gamemodes\GM.pwn(324) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Linha 306
pawn Code:
}
pawn Code:
if(strfind(name(playerid), "[SA]", true) != -1){
Reply
#2

Linha 306
A linha acima desta falta um return ou return incorreto!
Reply
#3

A Linha 306 que deve ser o Final da callback OnPlayerRequestClass estб faltando um Return, como o Don falou.

A Linha 324

Vocк colocou:

pawn Code:
if(strfind(name(playerid), "[SA]", true) != -1){
Entгo coloque
pawn Code:
if(strfind("[SA]",name(playerid), true) != -1){
Vocк havia colocado name(playerid) no lugar errado, primeiro vem a mensagem.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)