01.08.2010, 20:47
Axo que axei o erro:
Vocк esqueceu de fechar uma '}', muda para esse que eu passei e ve se funfa ^~
pawn Код:
if(strcmp(x_kitvip,"2",true) == 0)
{
if(PlayerInfo[playerid][pVIP] == 4)
{
GivePlayerMoneyEx(playerid, -3000);
format(string, sizeof(string), "* O VIP %s Pegou Seu KitVip Silver.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 16, 10);
GivePlayerWeapon(playerid, 46, 1);
GivePlayerWeapon(playerid, 24, 750);
GivePlayerWeapon(playerid, 31, 1500);
GivePlayerWeapon(playerid, 29, 1000);
GivePlayerWeapon(playerid, 25, 250);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 1, 1);
GivePlayerWeapon(playerid, 34, 250);
GivePlayerMoneyEx(playerid, -1000);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
SendClientMessage(playerid,COLOR_GREEN,"Voce pegou o seu KitVip!");
return 1;
}
}