Jump to content

Shokes13

Membru
  • Posts

    3
  • Joined

  • Last visited

    Never

Shokes13's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Daca sterg liniile acelea va arata butonul "Spawn" alaturi de sageti de la publicul "OnPlayerRequestClass" si, pentru a scapa de el, am pus acele 2 linii in plus.
  2. Exact dupa ce-l spawneaza : [pawn]SetSpawnInfo(playerid, 0, 1, 1448.5775,-665.8368,1297.8274, 91.7374, 0, 0, 0, 0, 0, 0 ); SpawnPlayer(playerid); SetPlayerPos(playerid, 1448.5775,-665.8368,1297.8274); SetPlayerFacingAngle(playerid, 91.7374); ApplyAnimation(playerid,"PED","SEAT_IDLE",4,0,0,0, 1,0,1); SetPlayerCameraPos(playerid, 1445.8765, -667.9634, 1298.8431); SetPlayerCameraLookAt(playerid, 1446.7035, -666.6038, 1298.5181); TogglePlayerControllable(playerid, 0);[/pawn]
  3. Buna ziua, SA-MP.ro! Din aceste linii se presupune ca playerul va fi la X,Y,Z cu anim-ul "sit", cu camera "atintita" asupra lui iar controalele blocate. [pawn]SetSpawnInfo(playerid, 0, 1, 1448.5775,-665.8368,1297.8274, 91.7374, 0, 0, 0, 0, 0, 0 ); SpawnPlayer(playerid); SetPlayerPos(playerid, 1448.5775,-665.8368,1297.8274); SetPlayerFacingAngle(playerid, 91.7374); ApplyAnimation(playerid,"PED","SEAT_IDLE",4,0,0,0, 1,0,1); SetPlayerCameraPos(playerid, 1445.8765, -667.9634, 1298.8431); SetPlayerCameraLookAt(playerid, 1446.7035, -666.6038, 1298.5181); TogglePlayerControllable(playerid, 0);[/pawn] Dupa cum vedeti in poza, functioneaza doar ca playerul nu este acolo. Am facut debug si.. Uitati rezultatul: "[03:06:44] Incoming connection: 127.0.0.1:3152 [03:06:44] [join] Test1 has joined the server (0:127.0.0.1) [03:06:47] X: 0 ! Y: 0 ! Z: 0 ! [03:06:55] [part] Test1 has left the server (0:1)" Cand ar trebui sa fie la :"1448.5775,-665.8368,1297.8274".
×
×
  • 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.