Viewing Item

#41014: Cupom de Slot de Personagem

Item ID 41014 For Sale No
Identifier Capi_Char_Slot_Coupon Credit Price Not For Sale
Name Cupom de Slot de Personagem Type Delay Consume
NPC Buy 0 Weight 0
NPC Sell 0 Weapon Level 0
Range 0 Defense 0
Slots 0 Refineable No
Attack 0 Min Equip Level None
Max Equip Level None
Equip Locations None
Equip Upper All classes
Equippable Jobs All jobs
Equip Gender Both (Male and Female)
Trade restriction Can't be dropped / Can't be traded with player / Can't be sold to NPC / Can't be put in Cart / Can't be put in Guild Storage / Can't be attached in Mail / Can't be auctioned
Item Use Script

1 //

2 CapivaRO

3 +1

4 slot

5 de

6 personagem

7 na

8 conta

9 (login.capi_slots_extra).

10 //

11 Base

12 =

13 chars_per_account

14 (5);

15 teto

16 =

17 MAX_CHARS

18 (15)

19 =

20 no

21 máximo

22 10

23 extras.

24 .@aid

25 =

26 getcharid(3);

27 .@extra

28 =

29 0;

30 query_sql

31 "SELECT

32 `capi_slots_extra`

33 FROM

34 `login`

35 WHERE

36 `account_id`

37 =

38 "

39 +

40 .@aid,

41 .@extra;

42 if

43 (.@extra

44 =

45 10)

46 {

47 message

48 strcharinfo(0),"Sua

49 conta

50 já

51 está

52 no

53 limite

54 de

55 15

56 slots

57 de

58 personagem.

59 O

60 cupom

61 não

62 foi

63 gasto.";

64 end;

65 }

66 delitem

67 41014,1;

68 query_sql

69 "UPDATE

70 `login`

71 SET

72 `capi_slots_extra`

73 =

74 `capi_slots_extra`

75 +

76 1

77 WHERE

78 `account_id`

79 =

80 "

81 +

82 .@aid;

83 message

84 strcharinfo(0),"+1

85 slot

86 de

87 personagem!

88 Sua

89 conta

90 agora

91 tem

92 "

93 +

94 (5

95 +

96 .@extra

97 +

98 1)

99 +

100 "

101 slots.

102 Volte

103 à

104 seleção

105 de

106 personagens

107 para

108 ver.";

Equip Script None
Unequip Script None