Mesaje : 579 Data de inscriere : 27/01/2013
| Subiect: Cum Adaugi Masini In GameMode Mar Apr 02, 2013 7:09 pm |
|
| Ok,daca vrei sa bagi masini in GM trebuie sa urmezi instructiunile : Intra in PAWNO si uitate in dreapta la: - Cod:
-
CreateVehicle();
AddStaticVehicle(); Daca dai click pe acestea si uitate in bara de status ( bara de la coltul editorului ) ve-i vedea syntax-ul lor ( ce informatie/parametrii trebuie sa le dai ca sa mearga: - Cod:
-
[a_samp.inc] native CreateVehicle(vehicletype, Float:x, Float:y, Float:z, Float:rotation, color1, color2, respawn_time); - Cod:
-
[a_samp.inc] native AddStaticVehicle(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:z_angle, color1, color2); Acum amandoi se vad bine dar aici e unde knowledge-u vine in,CreateVehicle doar plaseaza 1 masina in joc, AddStaticVehicle creeaza spawnul lui,atunci cand masina e distrusa va re-aparea acolo unde i-ai pus spawnul.Acestea trebuiesc create la inceputul jocului in OnGameModeInit()" Modelul masini/typul masinii <-- numerele lor pot fi gasite in vehicles.ide ,floats sunt niste,sa zicem "Non-Whole-Numbers",de obicei coordonatele si anglele si codurilie culorilor pot fi gasita in carcols.dat,uite referenta numerelor pentru culoarea care o vrei ,deci negru este 0 , galben este 6.in fine..cautati si voi.Daca vreti sa luati pozitia pentru o masina rulati debug mode,selectati masina si scrieti /save in CHAT .. coordonatele sunt salvate in "savedpositions.txt" si copiaza linia.Daca vrei sa spawnezi o masina in Debug mode scrie : /v ( id din vehicles.ide ) sau scrie /vsel si va aparea o lista cu masinile din joc am luat aceste coordonate : 2040.2279, 1344.4127, 11.0, 3.5436 - Cod:
-
AddStaticVehicle(411, 2040.2279, 1344.4127, 10.6719, 3.5436, 126, 54); cum poti sa salvezi pozitia si sa creezi cate masini vrei ...astea le pui in scriptul tau: IDURILE DE MASINI : 445 admiral Car 602 alpha Car 416 ambulan Car 485 baggage Car 568 bandito Car 429 banshee Car 433 barracks Car 499 benson Car 424 bfinject Car 536 blade Car 496 blistac Car 504 bloodra Car 422 bobcat Car 609 boxburg Car 498 boxville Car 401 bravura Car 575 broadway Car 518 buccanee Car 402 buffalo Car 541 bullet Car 482 burrito Car 431 bus Car 438 cabbie Car 457 caddy Car 527 cadrona Car 483 camper Car 524 cement Car 415 cheetah Car 542 clover Car 589 club Car 437 coach Car 532 combine Car 480 comet Car 596 copCarla Car 599 copCarru Car 597 copCarsf Car 598 copCarvg Car 578 dft30 Car 486 dozer Car 507 elegant Car 562 elegy Car 585 emperor Car 427 enforcer Car 419 esperant Car 587 euros Car 490 fbiranch Car 528 fbitruck Car 533 feltzer Car 544 firela Car 407 firetruk Car 565 flash Car 455 flatbed Car 530 forklift Car 526 fortune Car 466 glendale Car 604 glenshit Car 492 greenwoo Car 474 hermes Car 588 hotdog Car 434 hotknife Car 502 hotrina Car 503 hotrinb Car 494 hotring Car 579 huntley Car 545 hustler Car 411 infernus Car 546 intruder Car 559 jester Car 508 journey Car 571 kart Car 400 landstal Car 403 linerun Car 517 majestic Car 410 manana Car 551 merit Car 500 mesa Car 418 moonbeam Car 572 mower Car 423 mrwhoop Car 414 mule Car 516 nebula Car 582 newsvan Car 467 oceanic Car 443 packer Car 470 patriot Car 404 peren Car 514 petro Car 603 phoenix Car 600 picador Car 413 pony Car 426 premier Car 436 previon Car 547 primo Car 489 rancher Car 441 rcbandit Car 594 rccam Car 564 rctiger Car 515 rdtrain Car 479 regina Car 534 remingtn Car 432 rhino Car 505 rnchlure Car 442 romero Car 440 rumpo Car 475 sabre Car 543 sadler Car 605 sadlshit Car 495 sandking Car 567 savanna Car 428 securica Car 405 sentinel Car 535 slamvan Car 458 solair Car 580 stafford Car 439 stallion Car 561 stratum Car 409 stretch Car 560 sultan Car 550 sunrise Car 506 supergt Car 601 swatvan Car 574 sweeper Car 566 tahoma Car 549 tampa Car 420 taxi Car 459 topfun Car 576 tornado Car 525 towtruck Car 531 tractor Car 408 trash Car 583 tug Car 451 turismo Car 558 uranus Car 552 utility Car 540 vincent Car 491 virgo Car 412 voodoo Car 478 walton Car 421 washing Car 529 willard Car 555 windsor Car 456 yankee Car 554 yosemite Car 477 zr3 50 Car |
|