Jump to content

[Ajutor] Register/Login intr-un VW.


Sp1dey

Recommended Posts

Salut, am si eu o intrebare si va rog sa imi da-ti un raspuns daca doriti.. Cum as putea sa pun Register si Login intr-un VW 1, cu coordonatele astea: 

1.808619,32.384357,1199.593750

si sa fie pus pe chairsit odata inregistrat si dupa logat, Ca aici ps: Serverul nu mai exista! Deci nu este reclama..

PS: ala este gamemod-ul (Bot**s), am cerut mult ajutor si prea multi erau interesanti de asa zis'ul model sa-l reformulez cand eu am ne-aparata nevoie... va multumesc

Link to comment
Share on other sites

La onplayerconnect adaugi:

SetPlayerPos(playerid, 1.808619,32.384357,1199.593750);

SetPlayerVirtualWorld(playerid, playerid+1);

SetPlayerInterior(playerid, interior);

La onplayerspawn:

SetPlayerVirtualWorld(playerid, 0);

SetPlayerInterior(playerid, 0);

Edited by RazvaN.
  • Like 1
Link to comment
Share on other sites

28 minutes ago, RazvaN. said:

La onplayerconnect adaugi:

SetPlayerPos(playerid, 1.808619,32.384357,1199.593750);

SetPlayerVirtualWorld(playerid, playerid+1);

SetPlayerInterior(playerid, interior);

La onplayerspawn:

SetPlayerVirtualWorld(playerid, 0);

SetPlayerInterior(playerid, 0);

A pus, am copilat iar la intrare pe server, nu apare nimic, am si scos coordonatele din ShowPlayerDialog si nimic...

Link to comment
Share on other sites

8 minutes ago, Sp1dey said:

A pus, am copilat iar la intrare pe server, nu apare nimic, am si scos coordonatele din ShowPlayerDialog si nimic...

 Nu am lucrat cu gamemode-ul 'Bottles', insa, banuiesc ca totusi se poate edita. Depinde de cel care a facut gamemode-ul.

Edited by RazvaN.
Link to comment
Share on other sites

Shamal cabin	1	2.384830	33.103397	1199.849976

Acestea sunt coordonatele. '1' este ID-ul interiorului.

La 'OnPlayerConnect', pui asa:

SetPlayerPos(playerid, 2.384830, 33.103397, 1199.849976);
SetPlayerVirtualWorld(playerid, playerid + 1);
SetPlayerInterior(playerid, 1);

Apoi, la 'OnPlayerSpawn':

 

SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid, 0);

 

  • Like 1
Link to comment
Share on other sites

1 hour ago, BuNiCu-RP said:

Adauga asa la onplayerconnect:


SetPlayerPos(playerid, 2.384830, 33.103397, 1199.849976); // Pozitia player
SetPlayerVirtualWorld(playerid, 1); // VW 1
SetPlayerInterior(playerid, 1); // Interior Pozitie

tot nu a mers, lasa-ti asa, va multumesc ca ati incercat sa ma ajutati

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.

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