Ir para conteúdo
  • 0

[ Resolvido ]Bug Do Buff Novas Vocações


billd2

Pergunta

Olá peço ajuda quem puder me ajudar por favor.

 

Criei recentemente novas vocações no meu ot de Dbz 8.0 DBKo arena versão 2 funcionou tudo mas os Buffs não pegaram eu sei que tem q ditar na pasta first.lua foi o que fiz mas e no site tb tem? não vi nada con configinc.php que pudesse ter a ver com buff ai fico na dúvida de como faze-lo desde já grato.

 

obs: postando minha pasta first.lua:

 

 

 

 

 

 

function onStepIn(cid, item, pos)

if isPlayer(cid) == 1 then

 

if getPlayerStorageValue(cid,20010) <= 0 then

doSkillBag(cid)

doPlayerAddItem(cid,2148,1)

doPlayerAddItem(cid,2148,1)

doPlayerAddItem(cid,2148,1)

 

if (getPlayerVocation(cid) == 1)

or (getPlayerVocation(cid) == 15)

or (getPlayerVocation(cid) == 16)

or (getPlayerVocation(cid) == 17)

or (getPlayerVocation(cid) == 18)

or (getPlayerVocation(cid) == 19)

or (getPlayerVocation(cid) == 20)

or (getPlayerVocation(cid) == 86)

or (getPlayerVocation(cid) == 201)

or (getPlayerVocation(cid) == 202)

or (getPlayerVocation(cid) == 203)

or (getPlayerVocation(cid) == 204)

or (getPlayerVocation(cid) == 205)

or (getPlayerVocation(cid) == 206)

or (getPlayerVocation(cid) == 207)

or (getPlayerVocation(cid) == 363)

or (getPlayerVocation(cid) == 364) then

doPlayerAddItem(cid,2313,1)

doPlayerAddItem(cid,2307,1)

doPlayerAddItem(cid,2300,1)

doPlayerAddItem(cid,2304,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2286,1)

doPlayerAddItem(cid,2305,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 2)

or (getPlayerVocation(cid) == 21)

or (getPlayerVocation(cid) == 22)

or (getPlayerVocation(cid) == 23)

or (getPlayerVocation(cid) == 24)

or (getPlayerVocation(cid) == 25)

or (getPlayerVocation(cid) == 26)

or (getPlayerVocation(cid) == 88)

or (getPlayerVocation(cid) == 214)

or (getPlayerVocation(cid) == 215)

or (getPlayerVocation(cid) == 216)

or (getPlayerVocation(cid) == 217)

or (getPlayerVocation(cid) == 218)

or (getPlayerVocation(cid) == 219)

or (getPlayerVocation(cid) == 220)

or (getPlayerVocation(cid) == 37)

or (getPlayerVocation(cid) == 365) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2297,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 3)

or (getPlayerVocation(cid) == 41)

or (getPlayerVocation(cid) == 42)

or (getPlayerVocation(cid) == 43)

or (getPlayerVocation(cid) == 44)

or (getPlayerVocation(cid) == 237)

or (getPlayerVocation(cid) == 238)

or (getPlayerVocation(cid) == 239)

or (getPlayerVocation(cid) == 240)

or (getPlayerVocation(cid) == 241)

or (getPlayerVocation(cid) == 378) then

doPlayerAddItem(cid,2271,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2276,1)

doPlayerAddItem(cid,2266,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2290,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 5)

or (getPlayerVocation(cid) == 68)

or (getPlayerVocation(cid) == 69)

or (getPlayerVocation(cid) == 70)

or (getPlayerVocation(cid) == 71)

or (getPlayerVocation(cid) == 258)

or (getPlayerVocation(cid) == 259)

or (getPlayerVocation(cid) == 260)

or (getPlayerVocation(cid) == 261)

or (getPlayerVocation(cid) == 262)

or (getPlayerVocation(cid) == 376) then

doPlayerAddItem(cid,2296,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2291,1)

doPlayerAddItem(cid,2270,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 6)

or (getPlayerVocation(cid) == 27)

or (getPlayerVocation(cid) == 28)

or (getPlayerVocation(cid) == 29)

or (getPlayerVocation(cid) == 30)

or (getPlayerVocation(cid) == 90)

or (getPlayerVocation(cid) == 208)

or (getPlayerVocation(cid) == 209)

or (getPlayerVocation(cid) == 210)

or (getPlayerVocation(cid) == 211)

or (getPlayerVocation(cid) == 212)

or (getPlayerVocation(cid) == 213)

or (getPlayerVocation(cid) == 366) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2277,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2266,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 7)

or (getPlayerVocation(cid) == 31)

or (getPlayerVocation(cid) == 32)

or (getPlayerVocation(cid) == 33)

or (getPlayerVocation(cid) == 34)

or (getPlayerVocation(cid) == 35)

or (getPlayerVocation(cid) == 36)

or (getPlayerVocation(cid) == 221)

or (getPlayerVocation(cid) == 222)

or (getPlayerVocation(cid) == 223)

or (getPlayerVocation(cid) == 224)

or (getPlayerVocation(cid) == 225)

or (getPlayerVocation(cid) == 226)

or (getPlayerVocation(cid) == 367) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2272,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 8)

or (getPlayerVocation(cid) == 51)

or (getPlayerVocation(cid) == 52)

or (getPlayerVocation(cid) == 53)

or (getPlayerVocation(cid) == 274)

or (getPlayerVocation(cid) == 275)

or (getPlayerVocation(cid) == 276)

or (getPlayerVocation(cid) == 277)

or (getPlayerVocation(cid) == 278)

or (getPlayerVocation(cid) == 279)

or (getPlayerVocation(cid) == 374) then

doPlayerAddItem(cid,2299,1)

doPlayerAddItem(cid,2301,1)

doPlayerAddItem(cid,2291,1)

doPlayerAddItem(cid,2294,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2286,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 9)

or (getPlayerVocation(cid) == 45)

or (getPlayerVocation(cid) == 46)

or (getPlayerVocation(cid) == 47)

or (getPlayerVocation(cid) == 48)

or (getPlayerVocation(cid) == 49)

or (getPlayerVocation(cid) == 50)

or (getPlayerVocation(cid) == 253)

or (getPlayerVocation(cid) == 254)

or (getPlayerVocation(cid) == 255)

or (getPlayerVocation(cid) == 256)

or (getPlayerVocation(cid) == 257)

or (getPlayerVocation(cid) == 373) then

doPlayerAddItem(cid,2293,1)

doPlayerAddItem(cid,2285,1)

doPlayerAddItem(cid,2303,1)

doPlayerAddItem(cid,2294,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 10)

or (getPlayerVocation(cid) == 54)

or (getPlayerVocation(cid) == 55)

or (getPlayerVocation(cid) == 56)

or (getPlayerVocation(cid) == 57)

or (getPlayerVocation(cid) == 58)

or (getPlayerVocation(cid) == 247)

or (getPlayerVocation(cid) == 248)

or (getPlayerVocation(cid) == 249)

or (getPlayerVocation(cid) == 250)

or (getPlayerVocation(cid) == 251)

or (getPlayerVocation(cid) == 252)

or (getPlayerVocation(cid) == 375) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2282,1)

doPlayerAddItem(cid,2289,1)

doPlayerAddItem(cid,2281,1)

doPlayerAddItem(cid,2306,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2298,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 11)

or (getPlayerVocation(cid) == 59)

or (getPlayerVocation(cid) == 60)

or (getPlayerVocation(cid) == 61)

or (getPlayerVocation(cid) == 96)

or (getPlayerVocation(cid) == 242)

or (getPlayerVocation(cid) == 243)

or (getPlayerVocation(cid) == 244)

or (getPlayerVocation(cid) == 245)

or (getPlayerVocation(cid) == 246)

or (getPlayerVocation(cid) == 379) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2261,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 12) or (getPlayerVocation(cid) == 371) or (getPlayerVocation(cid) == 62) or (getPlayerVocation(cid) == 63) or (getPlayerVocation(cid) == 64) or (getPlayerVocation(cid) == 65) or (getPlayerVocation(cid) == 268) or (getPlayerVocation(cid) == 269) or (getPlayerVocation(cid) == 270) or (getPlayerVocation(cid) == 271) or (getPlayerVocation(cid) == 272) or (getPlayerVocation(cid) == 273) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2261,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 13) or (getPlayerVocation(cid) == 377) or (getPlayerVocation(cid) == 72) or (getPlayerVocation(cid) == 73) or (getPlayerVocation(cid) == 74) or (getPlayerVocation(cid) == 75) or (getPlayerVocation(cid) == 263) or (getPlayerVocation(cid) == 264) or (getPlayerVocation(cid) == 265) or (getPlayerVocation(cid) == 266) or (getPlayerVocation(cid) == 267) then

doPlayerAddItem(cid,2296,1)

doPlayerAddItem(cid,2316,1)

doPlayerAddItem(cid,2274,1)

doPlayerAddItem(cid,2302,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 14) then

doPlayerAddItem(cid,2297,1)

doPlayerAddItem(cid,2292,1)

doPlayerAddItem(cid,2291,1)

doPlayerAddItem(cid,2302,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 76) or (getPlayerVocation(cid) == 368) or (getPlayerVocation(cid) == 77) or (getPlayerVocation(cid) == 80) or (getPlayerVocation(cid) == 81) or (getPlayerVocation(cid) == 82) or (getPlayerVocation(cid) == 227) or (getPlayerVocation(cid) == 228) or (getPlayerVocation(cid) == 229) or (getPlayerVocation(cid) == 230) or (getPlayerVocation(cid) == 231) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2277,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2266,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 78) or (getPlayerVocation(cid) == 369) or (getPlayerVocation(cid) == 79) or (getPlayerVocation(cid) == 83) or (getPlayerVocation(cid) == 84) or (getPlayerVocation(cid) == 85) or (getPlayerVocation(cid) == 232) or (getPlayerVocation(cid) == 233) or (getPlayerVocation(cid) == 234) or (getPlayerVocation(cid) == 235) or (getPlayerVocation(cid) == 236) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2272,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 91) or (getPlayerVocation(cid) == 380) or (getPlayerVocation(cid) == 92) or (getPlayerVocation(cid) == 280) or (getPlayerVocation(cid) == 93) or (getPlayerVocation(cid) == 94) or (getPlayerVocation(cid) == 95) or (getPlayerVocation(cid) == 281) or (getPlayerVocation(cid) == 282) or (getPlayerVocation(cid) == 283) or (getPlayerVocation(cid) == 284) or (getPlayerVocation(cid) == 285) then

doPlayerAddItem(cid,2293,1)

doPlayerAddItem(cid,2285,1)

doPlayerAddItem(cid,2303,1)

doPlayerAddItem(cid,2294,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 100) or (getPlayerVocation(cid) == 370) or (getPlayerVocation(cid) == 101) or (getPlayerVocation(cid) == 102) or (getPlayerVocation(cid) == 103) or (getPlayerVocation(cid) == 104) or (getPlayerVocation(cid) == 113) or (getPlayerVocation(cid) == 286) or (getPlayerVocation(cid) == 287) or (getPlayerVocation(cid) == 288) or (getPlayerVocation(cid) == 289) or (getPlayerVocation(cid) == 290) or (getPlayerVocation(cid) == 291) then

doPlayerAddItem(cid,2313,1)

doPlayerAddItem(cid,2307,1)

doPlayerAddItem(cid,2300,1)

doPlayerAddItem(cid,2266,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2290,1)

doPlayerAddItem(cid,2305,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 105) or (getPlayerVocation(cid) == 382) or (getPlayerVocation(cid) == 106) or (getPlayerVocation(cid) == 107) or (getPlayerVocation(cid) == 108) or (getPlayerVocation(cid) == 292) or (getPlayerVocation(cid) == 293) or (getPlayerVocation(cid) == 294) or (getPlayerVocation(cid) == 295) or (getPlayerVocation(cid) == 296) or (getPlayerVocation(cid) == 297) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2289,1)

doPlayerAddItem(cid,2281,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2298,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 109) or (getPlayerVocation(cid) == 381) or (getPlayerVocation(cid) == 110) or (getPlayerVocation(cid) == 111) or (getPlayerVocation(cid) == 112) or (getPlayerVocation(cid) == 298) or (getPlayerVocation(cid) == 299) or (getPlayerVocation(cid) == 300) or (getPlayerVocation(cid) == 301) or (getPlayerVocation(cid) == 302) then

doPlayerAddItem(cid,2283,1)

doPlayerAddItem(cid,2285,1)

doPlayerAddItem(cid,2276,1)

doPlayerAddItem(cid,2294,1)

doPlayerAddItem(cid,2273,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2280,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

elseif (getPlayerVocation(cid) == 303) or (getPlayerVocation(cid) == 372) or (getPlayerVocation(cid) == 304) or (getPlayerVocation(cid) == 305) or (getPlayerVocation(cid) == 306) or (getPlayerVocation(cid) == 307) or (getPlayerVocation(cid) == 308) or (getPlayerVocation(cid) == 309) or (getPlayerVocation(cid) == 310) or (getPlayerVocation(cid) == 311) or (getPlayerVocation(cid) == 312) or (getPlayerVocation(cid) == 313) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2297,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2266,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 314) or (getPlayerVocation(cid) == 386) or (getPlayerVocation(cid) == 315) or (getPlayerVocation(cid) == 316) or (getPlayerVocation(cid) == 317) or (getPlayerVocation(cid) == 318) or (getPlayerVocation(cid) == 319) or (getPlayerVocation(cid) == 320) or (getPlayerVocation(cid) == 321) or (getPlayerVocation(cid) == 322) or (getPlayerVocation(cid) == 323) then

doPlayerAddItem(cid,2293,1)

doPlayerAddItem(cid,2285,1)

doPlayerAddItem(cid,2274,1)

doPlayerAddItem(cid,2294,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 324) or (getPlayerVocation(cid) == 387) or (getPlayerVocation(cid) == 325) or (getPlayerVocation(cid) == 326) or (getPlayerVocation(cid) == 327) or (getPlayerVocation(cid) == 328) or (getPlayerVocation(cid) == 329) or (getPlayerVocation(cid) == 330) or (getPlayerVocation(cid) == 331) or (getPlayerVocation(cid) == 332) then

doPlayerAddItem(cid,2283,1)

doPlayerAddItem(cid,2285,1)

doPlayerAddItem(cid,2276,1)

doPlayerAddItem(cid,2294,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2290,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

elseif (getPlayerVocation(cid) == 333) or (getPlayerVocation(cid) == 385) or (getPlayerVocation(cid) == 334) or (getPlayerVocation(cid) == 335) or (getPlayerVocation(cid) == 336) or (getPlayerVocation(cid) == 337) or (getPlayerVocation(cid) == 338) or (getPlayerVocation(cid) == 339) or (getPlayerVocation(cid) == 340) or (getPlayerVocation(cid) == 341) or (getPlayerVocation(cid) == 342) then

doPlayerAddItem(cid,2296,1)

doPlayerAddItem(cid,2316,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2266,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

elseif (getPlayerVocation(cid) == 343) or (getPlayerVocation(cid) == 383) or (getPlayerVocation(cid) == 344) or (getPlayerVocation(cid) == 345) or (getPlayerVocation(cid) == 346) or (getPlayerVocation(cid) == 347) or (getPlayerVocation(cid) == 348) or (getPlayerVocation(cid) == 349) or (getPlayerVocation(cid) == 350) or (getPlayerVocation(cid) == 351) or (getPlayerVocation(cid) == 352) then

doPlayerAddItem(cid,2279,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2294,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2290,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

elseif (getPlayerVocation(cid) == 353) or (getPlayerVocation(cid) == 384) or (getPlayerVocation(cid) == 354) or (getPlayerVocation(cid) == 355) or (getPlayerVocation(cid) == 356) or (getPlayerVocation(cid) == 357) or (getPlayerVocation(cid) == 358) or (getPlayerVocation(cid) == 359) or (getPlayerVocation(cid) == 360) or (getPlayerVocation(cid) == 361) or (getPlayerVocation(cid) == 362) then

doPlayerAddItem(cid,2296,1)

doPlayerAddItem(cid,2272,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2266,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

if (getPlayerVocation(cid) == 398)

or (getPlayerVocation(cid) == 399)

or (getPlayerVocation(cid) == 400)

or (getPlayerVocation(cid) == 401)

or (getPlayerVocation(cid) == 402)

or (getPlayerVocation(cid) == 403)

or (getPlayerVocation(cid) == 404)

or (getPlayerVocation(cid) == 405)

or (getPlayerVocation(cid) == 406)

or (getPlayerVocation(cid) == 407)

or (getPlayerVocation(cid) == 408) then

doPlayerAddItem(cid,2313,1)

doPlayerAddItem(cid,2307,1)

doPlayerAddItem(cid,2300,1)

doPlayerAddItem(cid,2304,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2286,1)

doPlayerAddItem(cid,2305,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

elseif (getPlayerVocation(cid) == 409)

or (getPlayerVocation(cid) == 410)

or (getPlayerVocation(cid) == 411)

or (getPlayerVocation(cid) == 412)

or (getPlayerVocation(cid) == 413)

or (getPlayerVocation(cid) == 414)

or (getPlayerVocation(cid) == 415)

or (getPlayerVocation(cid) == 416)

or (getPlayerVocation(cid) == 417)

or (getPlayerVocation(cid) == 418)

or (getPlayerVocation(cid) == 419) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2272,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

elseif (getPlayerVocation(cid) == 420)

or (getPlayerVocation(cid) == 421)

or (getPlayerVocation(cid) == 422)

or (getPlayerVocation(cid) == 423)

or (getPlayerVocation(cid) == 424)

or (getPlayerVocation(cid) == 425)

or (getPlayerVocation(cid) == 426)

or (getPlayerVocation(cid) == 427)

or (getPlayerVocation(cid) == 428)

or (getPlayerVocation(cid) == 429)

or (getPlayerVocation(cid) == 430)

or (getPlayerVocation(cid) == 431) then

doPlayerAddItem(cid,2313,1)

doPlayerAddItem(cid,2307,1)

doPlayerAddItem(cid,2300,1)

doPlayerAddItem(cid,2266,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2290,1)

doPlayerAddItem(cid,2305,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

elseif (getPlayerVocation(cid) == 432)

or (getPlayerVocation(cid) == 433)

or (getPlayerVocation(cid) == 434)

or (getPlayerVocation(cid) == 435)

or (getPlayerVocation(cid) == 436)

or (getPlayerVocation(cid) == 437)

or (getPlayerVocation(cid) == 438)

or (getPlayerVocation(cid) == 439)

or (getPlayerVocation(cid) == 440)

or (getPlayerVocation(cid) == 441)

or (getPlayerVocation(cid) == 442) then

doPlayerAddItem(cid,2296,1)

doPlayerAddItem(cid,2288,1)

doPlayerAddItem(cid,2291,1)

doPlayerAddItem(cid,2270,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

elseif (getPlayerVocation(cid) == 443)

or (getPlayerVocation(cid) == 444)

or (getPlayerVocation(cid) == 445)

or (getPlayerVocation(cid) == 446)

or (getPlayerVocation(cid) == 447)

or (getPlayerVocation(cid) == 448)

or (getPlayerVocation(cid) == 449)

or (getPlayerVocation(cid) == 450)

or (getPlayerVocation(cid) == 451)

or (getPlayerVocation(cid) == 452)

or (getPlayerVocation(cid) == 453) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2297,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

elseif (getPlayerVocation(cid) == 454)

or (getPlayerVocation(cid) == 455)

or (getPlayerVocation(cid) == 456)

or (getPlayerVocation(cid) == 457)

or (getPlayerVocation(cid) == 458)

or (getPlayerVocation(cid) == 459)

or (getPlayerVocation(cid) == 460)

or (getPlayerVocation(cid) == 461)

or (getPlayerVocation(cid) == 462)

or (getPlayerVocation(cid) == 463)

or (getPlayerVocation(cid) == 464) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2261,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2278,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

elseif (getPlayerVocation(cid) == 465)

or (getPlayerVocation(cid) == 466)

or (getPlayerVocation(cid) == 467)

or (getPlayerVocation(cid) == 468)

or (getPlayerVocation(cid) == 469)

or (getPlayerVocation(cid) == 470)

or (getPlayerVocation(cid) == 471)

or (getPlayerVocation(cid) == 472)

or (getPlayerVocation(cid) == 473)

or (getPlayerVocation(cid) == 474)

or (getPlayerVocation(cid) == 475) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2297,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2266,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2314,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

elseif (getPlayerVocation(cid) == 476)

or (getPlayerVocation(cid) == 477)

or (getPlayerVocation(cid) == 478)

or (getPlayerVocation(cid) == 479)

or (getPlayerVocation(cid) == 480)

or (getPlayerVocation(cid) == 481)

or (getPlayerVocation(cid) == 482)

or (getPlayerVocation(cid) == 483)

or (getPlayerVocation(cid) == 484)

or (getPlayerVocation(cid) == 485) then

doPlayerAddItem(cid,2311,1)

doPlayerAddItem(cid,2297,1)

doPlayerAddItem(cid,2310,1)

doPlayerAddItem(cid,2268,1)

doPlayerAddItem(cid,2308,1)

doPlayerAddItem(cid,2267,1)

doPlayerAddItem(cid,2295,1)

doPlayerAddItem(cid,2309,1)

doPlayerAddItem(cid,2269,1)

doPlayerAddItem(cid,2312,1)

doPlayerAddItem(cid,2287,1)

doPlayerAddItem(cid,2315,1)

 

 

end

setPlayerStorageValue(cid,20010,3)

end

end

return 1

end

end

 

 

 

 

 

as novas vocações vão do id 398 em diante as outras funcionam normalmente os Buff. Me ajduem plz

Link para o comentário
Compartilhar em outros sites

8 respostass a esta questão

Posts Recomendados

  • 0

carai mano usa array!

 

ex:

local vocs = {105,382,106,107,108,292,293,294,295,296,297}
if isInArray(vocs, getPlayerVocation(cid)) then
bloco
end

Link para o comentário
Compartilhar em outros sites

  • 0

E ai Vodkart tudo bem? Eu não entendo muito de script poderia explicar melhor sobre o array ou pelo menos me mostrar o script inteiro por exemplo depois do then ali faço o q? Vc colocou the e embaixo Bloco q bloco é esse?

Link para o comentário
Compartilhar em outros sites

  • 0

Vodkart manolo aruma un tutorial tipo to com uma ideia mas nun sei se o jeito certo manda MP como fas o certo man

 

 

Edit:

pasa un fucionando PFV brother se der paso 1 semana rep+ enti brother

Editado por srjoao
Link para o comentário
Compartilhar em outros sites

  • 0
function onStepIn(cid, item, pos)    
if isPlayer(cid) == 1 then

if getPlayerStorageValue(cid,20010) <= 0 then
doSkillBag(cid)
doPlayerAddItem(cid,2148,1)
doPlayerAddItem(cid,2148,1)
doPlayerAddItem(cid,2148,1)

local vocs = {1,15,16,17,18,19,20,86,201,202,203,204,205,206,207,363,364}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2313,1)
doPlayerAddItem(cid,2307,1)
doPlayerAddItem(cid,2300,1)
doPlayerAddItem(cid,2304,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2286,1)
doPlayerAddItem(cid,2305,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {2,21,22,23,24,25,26,88,214,215,216,217,218,219,220,37,365}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2297,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2268,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {3,41,42,43,44,237,238,239,240,241,378}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2271,1)
doPlayerAddItem(cid,2288,1)
doPlayerAddItem(cid,2276,1)
doPlayerAddItem(cid,2266,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2290,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {5,68,69,70,71,258,259,260,261,262,376}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2296,1)
doPlayerAddItem(cid,2288,1)
doPlayerAddItem(cid,2291,1)
doPlayerAddItem(cid,2270,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2278,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {6,27,28,29,30,90,208,209,210,211,212,213,366}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2277,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2266,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {7,31,32,33,34,35,36,221,222,223,224,225,226,367}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2272,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2268,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {8,51,52,53,274,275,276,277,278,278,374}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2299,1)
doPlayerAddItem(cid,2301,1)
doPlayerAddItem(cid,2291,1)
doPlayerAddItem(cid,2294,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2286,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {9,45,46,47,48,49,50,253,254,255,256,257,373}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2293,1)
doPlayerAddItem(cid,2285,1)
doPlayerAddItem(cid,2303,1)
doPlayerAddItem(cid,2294,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2278,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {10,54,55,56,57,58,247,248,249,250,251,375}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2282,1)
doPlayerAddItem(cid,2289,1)
doPlayerAddItem(cid,2281,1)
doPlayerAddItem(cid,2306,1)
doPlayerAddItem(cid,2278,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2298,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {11,59,60,61,96,242,243,244,245,246,379}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2261,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2268,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2278,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {12,62,63,64,65,268,269,270,271,272,273}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2261,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2268,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2278,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {13,72,73,74,75,263,264,265,266,267}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2296,1)
doPlayerAddItem(cid,2316,1)
doPlayerAddItem(cid,2274,1)
doPlayerAddItem(cid,2302,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2278,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {14}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2297,1)
doPlayerAddItem(cid,2292,1)
doPlayerAddItem(cid,2291,1)
doPlayerAddItem(cid,2302,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2278,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {76,77,80,81,82,227,228,229,230,231}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2277,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2266,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {78,79,83,84,85,232,233,234,235,236}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2272,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2268,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {91,92,280,93,94,95,281,282,283,284,285}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2293,1)
doPlayerAddItem(cid,2285,1)
doPlayerAddItem(cid,2303,1)
doPlayerAddItem(cid,2294,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2278,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {100,101,102,103,104,113,286,287,288,289,290,291}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2313,1)
doPlayerAddItem(cid,2307,1)
doPlayerAddItem(cid,2300,1)
doPlayerAddItem(cid,2266,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2290,1)
doPlayerAddItem(cid,2305,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {105,106,107,108,292,293,294,295,296,297}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2288,1)
doPlayerAddItem(cid,2289,1)
doPlayerAddItem(cid,2281,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2278,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2298,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {109,110,111,112,298,299,300,301,302,303,302}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2283,1)
doPlayerAddItem(cid,2285,1)
doPlayerAddItem(cid,2276,1)
doPlayerAddItem(cid,2294,1)
doPlayerAddItem(cid,2273,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2280,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {303,304,305,306,307,308,309,310,311,312,313}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2297,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2266,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {314,315,316,317,318,319,320,321,322,323}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2293,1)
doPlayerAddItem(cid,2285,1)
doPlayerAddItem(cid,2274,1)
doPlayerAddItem(cid,2294,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2278,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {324,325,325,326,327,328,329,330,331,332}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2283,1)
doPlayerAddItem(cid,2285,1)
doPlayerAddItem(cid,2276,1)
doPlayerAddItem(cid,2294,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2290,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {333,334,335,336,337,338,339,340,341,342}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2296,1)
doPlayerAddItem(cid,2316,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2266,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {343,344,345,346,347,348,349,350,351,352}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2279,1)
doPlayerAddItem(cid,2288,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2294,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2290,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {353,354,355,356,357,358,359,360,361,362}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2296,1)
doPlayerAddItem(cid,2272,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2266,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {398,399,400,401,402,403,404,405,406,407,408}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2313,1)
doPlayerAddItem(cid,2307,1)
doPlayerAddItem(cid,2300,1)
doPlayerAddItem(cid,2304,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2286,1)
doPlayerAddItem(cid,2305,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {409,410,411,412,413,414,415,416,417,418,419}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2272,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2268,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {420,421,422,423,424,425,426,427,428,429,430,431}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2313,1)
doPlayerAddItem(cid,2307,1)
doPlayerAddItem(cid,2300,1)
doPlayerAddItem(cid,2266,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2290,1)
doPlayerAddItem(cid,2305,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {432,433,434,435,436,437,438,439,440,441,442}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2296,1)
doPlayerAddItem(cid,2288,1)
doPlayerAddItem(cid,2291,1)
doPlayerAddItem(cid,2270,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2278,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {443,444,445,446,447,448,449,450,451,452,453}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2297,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2268,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {454,455,456,457,458,459,460,461,462,463,464}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2261,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2268,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2278,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end


vocs = {465,466,467,468,469,470,471,472,473,474,475}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2297,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2266,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2314,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
end


vocs = {476,477,478,479,480,481,482,483,484,485,486}
if isInArray(vocs, getPlayerVocation(cid)) then
doPlayerAddItem(cid,2311,1)
doPlayerAddItem(cid,2297,1)
doPlayerAddItem(cid,2310,1)
doPlayerAddItem(cid,2268,1)
doPlayerAddItem(cid,2308,1)
doPlayerAddItem(cid,2267,1)
doPlayerAddItem(cid,2295,1)
doPlayerAddItem(cid,2309,1)
doPlayerAddItem(cid,2269,1)
doPlayerAddItem(cid,2312,1)
doPlayerAddItem(cid,2287,1)
doPlayerAddItem(cid,2315,1)
setPlayerStorageValue(cid,20010,3)
return 1
end

end
end
return 1
end

Link para o comentário
Compartilhar em outros sites

  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...