22.04.2013, 02:07
Bom no meu gm so vip lvl 2 pd equipar o vip lvl 1 n
PlayOnline[playerid][PLojaA1] = 0;
PlayOnline[playerid][PLojaA2] = 0;
return 1;
}
if(response == 1)
{
if(listitem == 0)
{
OnPlayerCommandText(playerid,"/kitsvip");
PlayOnline[playerid][PLojaA1] = 0;
PlayOnline[playerid][PLojaA2] = 0;
PlayOnline[playerid][ArmaLoja] = 0;
return 1;
}
if(listitem == 1)
{
OnPlayerCommandText(playerid,"/kitsvip");
PlayOnline[playerid][PLojaA1] = 0;
PlayOnline[playerid][PLojaA2] = 0;
PlayOnline[playerid][ArmaLoja] = 0;
return 1;
}
if(listitem == 2)
{
OnPlayerCommandText(playerid,"/kitsvip");
PlayOnline[playerid][PLojaA1] = 0;
PlayOnline[playerid][PLojaA2] = 0;
PlayOnline[playerid][ArmaLoja] = 0;
return 1;
}
return 1;
}
PlayOnline[playerid][PLojaA1] = 0;
PlayOnline[playerid][PLojaA2] = 0;
PlayOnline[playerid][ArmaLoja] = 0;
return 1;
}
if(dialogid == 1122)
{
if(strcmp(cmd, "/kitsvip", true) == 0)
{
if(PlayerInfo[playerid][pVIP] == 2)
{
if(PlayerInfo[playerid][pJailed] != 0)
{
SendClientMessage(playerid,COLOR_GREY," Vocк nгo pode usar seu kit preso!");
return 1;
if(strcmp(cmd, "/kitsvip", true) == 0 || strcmp(cmd, "/kitsvip", true) == 0)
{
new location = PlayerInfo[playerid][pLocal];
if(location == 99 || location == 100 || location == 102)
{
GetPlayerName(playerid, sendername, sizeof(sendername));
if(PlayerInfo[playerid][pVIP] >= 1)
{
format(string, sizeof(string), "* %s recebeu seu Kit S.VIP.", sendername);
if(strcmp(cmd, "/kitsvip", true) == 0)
{
if(PlayerInfo[playerid][pVIP] >= 1)
{
if(PlayerInfo[playerid][pJailed] != 0)
{
SendClientMessage(playerid,COLOR_GREY," Vocк nгo pode usar seu kit preso!");
}
return true;
}