Jump to content

Cum modific spawn civil pe un server ?


Wiz14
 Share

Recommended Posts

Foloseste CTRL + F in Gamemode si cauta "Civilian"

 

Acolo vei gasii asta: 

SetPlayerPosEx(player id, 2131.213, 123.35, 3142,43) eu am pus coordonatele aiurea, tu iti pui ce coordonate vrei tu (spre exemplu, spawn bugged:  1800.1581,-1865.7731,13.5722, daca te-am ajutat un +1.

  • Upvote 1
Link to comment
Share on other sites

Te invata tata o smekerie deci cand intri pe serverul tau te loghezi si dai /save fara sa te misti dupa ce te-ai logat, dupa te duci in Documents\GTA San Andreas User Files\SAMP si deschizi savedpositions. O sa iti apara asaceva doar cu coordinate diferite. "AddPlayerClass(250,690.8634,-1275.9548,13.5602,85.0825,0,0,0,0,0,0); // " . Copiezi primele 3 coordinate adica X,Y,Z "690.8634,-1275.9548,13.5602" si cauti coordinatele astea in gamemode si tot ce tine de aceste coordinate le schimbi cu coordinatele in care vrei sa muti tu spawnul.

Link to comment
Share on other sites

Foloseste CTRL + F in Gamemode si cauta "Civilian"

 

Acolo vei gasii asta: 

SetPlayerPosEx(player id, 2131.213, 123.35, 3142,43) eu am pus coordonatele aiurea, tu iti pui ce coordonate vrei tu (spre exemplu, spawn bugged:  1800.1581,-1865.7731,13.5722, daca te-am ajutat un +1.

Mersii , mi-za fost de folos, dar cum sa fac sa nu se spawneze caracteru cu fata in stanga vreau sa fie drepet ?

Link to comment
Share on other sites

Exemplu: (te duci unde ai salvat pozitia cu /save)

AddPlayerClass(250,690.8634,-1275.9548,13.5602,85.0825,0,0,0,0,0,0);

 

Dupa care te folosesti de functia de mai jos:

SetPlayerFacingAngle(playerid, 85.0825);

Edited by RedGun
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
Reply to this topic...

×   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.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. 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.