30.07.2010, 00:45
Baichei esse GM e queria modifica-lo mas sempre que compilo da esses erros:
linha 137 :
linha 4196 e 4296 :
linha 4339:
gamemode : http://samp.pastebin.com/uq4BMiHg
Код:
C:\Users\use\Desktop\sb1.pwn(137) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS") C:\Users\use\Desktop\sb1.pwn(4196) : warning 219: local variable "PlayerName" shadows a variable at a preceding level C:\Users\use\Desktop\sb1.pwn(4216) : warning 219: local variable "PlayerName" shadows a variable at a preceding level C:\Users\use\Desktop\sb1.pwn(4339) : warning 204: symbol is assigned a value that is never used: "stringe" C:\Users\use\Desktop\sb1.pwn(4339 -- 4429) : warning 209: function "OnPlayerCommandText" should return a value C:\Users\use\Desktop\sb1.pwn(4339 -- 4431) : error 010: invalid function or declaration C:\Users\use\Desktop\sb1.pwn(4339 -- 4432) : error 010: invalid function or declaration C:\Users\use\Desktop\sb1.pwn(4339 -- 4434) : error 010: invalid function or declaration C:\Users\use\Desktop\sb1.pwn(4339 -- 4434) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
#define MAX_PICKUPS 80
Код:
new PlayerName[MAX_PLAYER_NAME];
Код:
new string[256];