Jump to content
  • 0

Ajutor Spawn


goshuas6e

Question

2 answers to this question

Recommended Posts

  • 1
35 minutes ago, goshuas6e said:

Salut , vreau sa stiu cum pot schimba spawn-ul pentru playerii care vor intra pe server. Adica stiu ca trebuie sa editez OnGameModeInit si OnPlayerRequestClass dar nu stiu cum. Mersi de ajutor ! 

Pentru a modifica pozitia (cand un player intra pe server) trebuie sa intri in gta sa iei pozitia cu /save iei pozitia din documente si o pui in gamemode la onplayerspawn

Daca la acest lucru te referi

text.gif

SKIPE : EDUARD.SENNOW

Link to comment
Share on other sites

  • 1

Du-te unde vrei sa ai spawn-ul, dai /save apoi te duci in documente la san andreas si o sa ai savedpositions.txt.

Acum, intrii in gm

Cauti linia

AddPlayerClass(Peds[i][0],1958.3783,1343.1572,1100.3746,269.1425,-1,-1,-1,-1,-1,-1);

Sa zicem ca in savedpositions.txt ai urmatoarea linie (la tine sigur difera, nu conteaza, modelul e acelasi):

AddPlayerClass(61,373.0591,184.0956,1014.1797,329.4162,0,0,0,0,0,0); //

Bun, acum inlocuiesti asa:

  • 1958.3783 cu 373.0591
  • 1343.1572 cu 184.0956
  • 1100.3746 cu 1014.1797
  • 269.1425 cu 329.4162

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.