roscatu Posted May 9, 2013 Report Share Posted May 9, 2013 Salut,am o dilema,cum sa creez doua spawn-uri?o idee sa o pun in practica daca se poate va rog1. Locatia de la factiune2. Spawn Civil sau acasa ( cu optiune alegere spawnchange 1 sau 2) Link to comment Share on other sites More sharing options...
BuBu Posted May 10, 2013 Report Share Posted May 10, 2013 SetPlayerSpawn seteaza tot, atunci cand setezi un spawn doar pentru un membru de factiune il va spawna acolo, cand setezi pe cineva care are chirie,casa (255 parca era) va fi spawnat acolo si tot asa, sper ca ai inteles la ce m-am referit. Link to comment Share on other sites More sharing options...
Staff Posted May 10, 2013 Report Share Posted May 10, 2013 Iei o variabila..cu valoarea 1 de exemplu. new z;z=1;Faci un dialog sau o comanda,daca dai pe factiune z=1..ma rog ca la inceput.Daca dai pe casa z=2;si bagi la public OnPlayerSpawn..if[inseamna daca].[pawn]if(z==1) SetPlayerPos(si bagi coordonatele..);else SetplayerPos(alte coordonate);[/pawn] [glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow] Link to comment Share on other sites More sharing options...
roscatu Posted May 10, 2013 Author Report Share Posted May 10, 2013 Am inteles ideea,o alta dilema ii daca el isi cumpara casa,este ceva functie sau ceva sa il dea la el acasa?sau cum colectez coods case-i lui? Link to comment Share on other sites More sharing options...
Staff Posted May 10, 2013 Report Share Posted May 10, 2013 Vezi daca are sistemul de case pe care il folosesti si aceasta "functie". [glow=blue,2,300]SAMP.[glow=yellow,2,300]RSP-GAME[glow=red,2,300].NET[/glow][/glow][/glow] Link to comment Share on other sites More sharing options...
Question
roscatu
Salut,am o dilema,cum sa creez doua spawn-uri?o idee sa o pun in practica daca se poate va rog
1. Locatia de la factiune
2. Spawn Civil sau acasa ( cu optiune alegere spawnchange 1 sau 2)
Link to comment
Share on other sites
4 answers to this question
Recommended Posts