[Ajuda] /vips bugado ajuda ae - 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] /vips bugado ajuda ae (
/showthread.php?tid=631537)
Re: /vips bugado ajuda ae -
GuilhermeNunes - 03.04.2017
Quote:
Originally Posted by Showzs
PHP Code:
#include <foreach>
CMD:vips(playerid)
{
new
string[ 256 ],
jvip
;
SendClientMessage( playerid, 0xADFF2FFF, "Jogadores VIP Online" );
foreach( Player, i )
{
if( IsPlayerVIP( i ))
{
++jvip;
format( gstring, sizeof( gstring ),"%s ( Jogador(a) VIP )", Nome( i ));
SendClientMessage( playerid, -1, gstring );
}
}
if( jvip <= 0 )
{
SendClientMessage( playerid, -1, "x Nгo existe nenhum(a) jogador(a) VIP Online no momento.");
}
return 1;
}
Include
https://sampforum.blast.hk/showthread.php?tid=570868
|
PHP Code:
C:\Projeto (CLS)\filterscripts\vipsystem.pwn(316) : warning 219: local variable "Nome" shadows a variable at a preceding level
C:\Projeto (CLS)\filterscripts\vipsystem.pwn(370) : error 017: undefined symbol "gstring"
C:\Projeto (CLS)\filterscripts\vipsystem.pwn(370) : error 017: undefined symbol "gstring"
C:\Projeto (CLS)\filterscripts\vipsystem.pwn(370) : error 029: invalid expression, assumed zero
C:\Projeto (CLS)\filterscripts\vipsystem.pwn(370) : 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.
Re: /vips bugado ajuda ae -
ViniBorn - 03.04.2017
Й sу trocar string[ 256 ] por gstring[ 256 ].
O erro de "Nome" estб em outra linha, mas vocк deve ter criado duas funзхes/variбveis com este mesmo nome.
Basta trocar um deles
Re: /vips bugado ajuda ae -
DarkBr - 04.04.2017
Quote:
Originally Posted by GuilhermeNunes
ai deu isso
C:\Projeto (CLS)\filterscripts\vipsystem.pwn(332) : warning 213: tag mismatch
C:\Projeto (CLS)\filterscripts\vipsystem.pwn(334) : error 017: undefined symbol "IsPlayerVip"
C:\Projeto (CLS)\filterscripts\vipsystem.pwn(632) : error 017: undefined symbol "namez"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
|
Precisa ter salvamento de DOF2 ou pasta Vips
Re: /vips bugado ajuda ae -
GuilhermeNunes - 04.04.2017
os erro saiu mais ainda continua o bug de falar que n tem vip sendo que tem .-.
Re: /vips bugado ajuda ae -
GuilhermeNunes - 06.04.2017
Upupppupyppp
Re: /vips bugado ajuda ae -
ViniBorn - 06.04.2017
Como tб o cуdigo agora?
Re: /vips bugado ajuda ae -
Showzs - 07.04.2017
Pode ser erro no sistema de vip.