[Ajuda] 2 Erros "ppb_OnPlayerDisconnect" "OnPlayerSpawn"
#1

Esses 2 erros .

sss/extensions/Vip.pwn(34) : error 021: symbol already defined: "ppb_OnPlayerDisconnect"
sss/extensions/Vip.pwn(39) : error 021: symbol already defined: "OnPlayerSpawn"

linha 34
Code:
public OnPlayerDisconnect(playerid, reason)
{
	return 1;
}
linha 39
Code:
public OnPlayerSpawn(playerid)
Completo
Code:
public OnPlayerDisconnect(playerid, reason)
{
	return 1;
}

public OnPlayerSpawn(playerid)
{
	if( GetPVarInt(playerid, "Spawnou") != 1 ) {

		if( IsPlayerVIP(playerid )) {

			format(Str, sizeof(Str), "/VIPs/%s.ini", PlayerName(playerid) );

			if( gettime() > DOF2_GetInt(Str, "Vencimento") ) {

				RemoverV(playerid);
				SendClientMessage(playerid, VERMELHO, "Seu VIP expirou e jГЎ nГЈo tem mais acesso aos comandos exclusivo VIP!");
				return 1;
			}
			else {

				SendClientMessage(playerid, ROXO, "VocГЄ Г© um jogador VIP! Para ver o vencimento digite /Vencimento!");
				SetPVarInt(playerid, "Spawnou", 1);
				return 1;
			}
		}
	}
	return 1;
}
Sem essa parte compila sem nenhum erro, mais o vencimento do vip nгo funciona, o vip vence e continuar com vip, estou usando com extensгo para GM Scavenge Survive.
Reply


Messages In This Thread
2 Erros "ppb_OnPlayerDisconnect" "OnPlayerSpawn" - by LukeCage - 08.01.2017, 19:46
Re: 2 Erros "ppb_OnPlayerDisconnect" "OnPlayerSpawn" - by didimk157 - 08.01.2017, 23:09
Programando e Relaxando! - by RazorGuigo - 08.01.2017, 23:11
Re: Programando e Relaxando! - by didimk157 - 08.01.2017, 23:17
RE: TO didimk157 - by RazorGuigo - 08.01.2017, 23:19

Forum Jump:


Users browsing this thread: 1 Guest(s)