SA-MP Forums Archive
[Ajuda] 1 Warning. Rapidinho! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] 1 Warning. Rapidinho! (/showthread.php?tid=267239)



[Ajuda] 1 Warning. Rapidinho! - Tymer - 07.07.2011

Warnings:
Quote:

C:\Users\Alexandre\Documents\Biblioteca\Alex\GTA San Andreas Multy E Singleplayer\GTA Samp\Servidor\Server Main File 3\gamemodes\RPG.pwn(150) : warning 219: local variable "cmd" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.

Quote:

public OnRconCommand(cmd[])

Ajuda, Vlw.


Re: [Ajuda] 1 Warning. Rapidinho! - Macintosh - 07.07.2011

Acho que й porque vocк definindo no topo do onplayercommandtext '-'. Apague a public se nгo estiver usando-a.


Re: [Ajuda] 1 Warning. Rapidinho! - Tymer - 07.07.2011

Se Eu Eliminar Isso, Dб 2 Erros.

Undefineable Sinbole "cmd".


Re: [Ajuda] 1 Warning. Rapidinho! - RockFire - 07.07.2011

Dentro do OnRconCommand
PHP код:
#pragma unused cmd 
Se nгo tiver nada dentro dela apague-a