erro gm
#1

Boa noite, alguem me poderia ajudar a resolver estes problemas por favor?

Quote:

C:\Users\zettaryou\Desktop\base\SAMPAttackDefend-1.21\gamemodes\geh.pwn(4244) : warning 204: symbol is assigned a value that is never used: "rand"
C:\Users\zettaryou\Desktop\base\SAMPAttackDefend-1.21\gamemodes\geh.pwn(5872) : warning 203: symbol is never used: "MaxPL"

Em baixo encontra-se o script do gamemode
Obrigado

https://pastebin.com/A42MzWZe
Reply
#2

symbol is never used

significa que tu definiu algo tipo variavel mas n usou.

isso geralmente acontece quando vc define uma variavel e n usa exemplo.
PHP код:
new exemplo
se eu n usar ela deixar ela la emcima de enfeite vai dar isso

symbol is never used "exemplo"

encontre a variavel que vocк definiu e use-as.
Reply
#3

Eu tentei e nгo dei na mesma
Reply
#4

Apaga a linha 4244 e a 170 e compila pra ver.
Reply
#5

Quote:

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size: 7620 bytes
Code size: 347544 bytes
Data size: 5705468 bytes
Stack/heap size: 16384 bytes; estimated max. usage=5058 cells (20232 bytes)
Total requirements: 6077016 bytes

Compilou o pawn mas quando vou a fazer start no server da este erro

Quote:

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[22:29:50]
[22:29:50] Server Plugins
[22:29:50] --------------
[22:29:50] Loading plugin: streamer
[22:29:50]

*** Streamer Plugin v2.7.2 by Incognito loaded ***

[22:29:50] Loaded.
[22:29:50] Loading plugin: sscanf
[22:29:50]

[22:29:50] ===============================

[22:29:50] sscanf plugin loaded.

[22:29:50] © 2009 Alex "******" Cole

[22:29:50] 0.3d-R2 500 Players "dnee"

[22:29:50] ===============================

[22:29:50] Loaded.
[22:29:50] Loading plugin: Whirlpool
[22:29:50]
[22:29:50] ==================
[22:29:50]
[22:29:50] Whirlpool loaded
[22:29:50]
[22:29:50] ==================
[22:29:50]
[22:29:50] Loaded.
[22:29:50] Loaded 3 plugins.

[22:29:50]
[22:29:50] Ban list
[22:29:50] --------
[22:29:50] Loaded: samp.ban
[22:29:50]
[22:29:50]
[22:29:50] Filterscripts
[22:29:50] ---------------
[22:29:50] Loading filterscript 'npcc.amx'...
[22:29:50] Loaded 1 filterscripts.

[22:29:50] Script[gamemodes/geh.amx]: Run time error 19: "File or function is not found"
[22:29:50] Number of vehicle models: 0

Estб aqui o server.cfg

Quote:

echo Executing Server Config...
lanmode 0
rcon_password gehclan2017
maxplayers 50
port 7777
hostname BIG ASS
gamemode0 geh
filterscripts npcc
announce 0
plugins streamer sscanf
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language English

Reply
#6

ninguem?
Reply
#7

https://pastebin.com/ujJsWRxB

pronto
Reply
#8

alguem


Quote:

[22:29:50] Script[gamemodes/geh.amx]: Run time error 19: "File or function is not found"
[22:29:50] Number of vehicle models: 0

deu este erro
Reply
#9

Apague a linha 2649 tambйm!
Reply
#10

Jб consegui, obrigado a todos que me ajudaram.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)