05.03.2015, 12:31
pawn Code:
if(VarEncontrado == 0)
{
for(new i = 0; i < sizeof(VipInfo); i++)
{
if(strcmp("Ninguem",VipInfo[i][vNick],true)==0)
{
PlayerInfo[playerid][pMesesVIP] = -1;
strmid(VipInfo[i][vNick], PlayerName(playerid), 0, strlen(PlayerName(playerid)), 255);
VipInfo[i][vDia] = Diav;
VipInfo[i][vMes] = Mesv;
VipInfo[i][vAno] = Anov;
VipInfo[i][vMesesVIP] = PlayerInfo[playerid][pMesesVIP];
break;
}
else
{
return 1;
}
}