Szerző Téma: Különleges szkinválasztó animálás  (Megtekintve 881 alkalommal)

Különleges szkinválasztó animálás
« Dátum: 2014. Június 05. - 20:04:41 »
0 Show voters
ennek valaki nemtudja a kódját?
 
« Utoljára szerkesztve: 2014. Június 05. - 20:59:35 írta Flash »

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
Különleges szkinválasztó animálás
« Válasz #1 Dátum: 2014. Június 05. - 20:59:26 »
0 Show voters
Valahol megvan ez a script itt a fórumon is, de a youtube-n is van egy link csak regisztrálni kell: http://gtaforum.hu/index.php/topic,13120.msg107575.html#msg107575

Különleges szkinválasztó animálás
« Válasz #2 Dátum: 2014. Június 06. - 05:36:54 »
0 Show voters
karbantartás alatt...azt irja nem engedi hogy regizzek,...

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Különleges szkinválasztó animálás
« Válasz #3 Dátum: 2014. Június 08. - 10:34:52 »
0 Show voters
//  -------------------------------
//  Mozgó kamera a karakterválasztóban
//  Készítette GameStar
//      2012
//  -------------------------------
#include <a_samp>
#if !defined InterpolateCameraPos
#error \"A fordítód nem tartalmazza a 0.3e fájlokat!
#endif
#define CAMERA_TIME 8000
forward CameraInterpolate(playerid);
public OnPlayerConnect(playerid)
{
    SetPVarInt(playerid, \"cameraInterpolate\", 0);
SetPVarInt(playerid, \"skinTimer\", -1);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2232.7930,-2458.5513,61.6104);
SetPlayerFacingAngle(playerid, 97.1613);
if(GetPVarInt(playerid,\"skinTimer\") == -1)
{
CameraInterpolate(playerid);
SetPVarInt(playerid, \"skinTimer\", SetTimerEx(\"CameraInterpolate\", CAMERA_TIME + 225, 1, \"i\", playerid));
}
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
    KillTimer(GetPVarInt(playerid,\"skinTimer\"));
SetPVarInt(playerid, \"skinTimer\", -1);
SetCameraBehindPlayer(playerid);
return 1;
}
public CameraInterpolate(playerid)
{
    switch(GetPVarInt(playerid,\"cameraInterpolate\"))
{
case 0:
{
   InterpolateCameraPos(playerid, 2228.596435, -2462.059082, 62.675743, 2226.085937, -2457.546875, 62.636756, CAMERA_TIME);
   InterpolateCameraLookAt(playerid, 2232.7930,-2458.5513,61.6104, 2232.7930,-2458.5513,61.6104, CAMERA_TIME);
}
case 1:
{
   InterpolateCameraPos(playerid, 2226.085937, -2457.546875, 62.636756, 2231.406250, -2456.153564, 61.862873, CAMERA_TIME);
   InterpolateCameraLookAt(playerid, 2232.7930,-2458.5513,61.6104, 2232.7930,-2458.5513,61.6104, CAMERA_TIME);
}
case 2:
{
   InterpolateCameraPos(playerid, 2231.406250, -2456.153564, 61.862873, 2228.596435, -2462.059082, 62.675743, CAMERA_TIME);
   InterpolateCameraLookAt(playerid, 2232.7930,-2458.5513,61.6104, 2232.7930,-2458.5513,61.6104, CAMERA_TIME);
}
}
SetPVarInt(playerid, \"cameraInterpolate\", GetPVarInt(playerid,\"cameraInterpolate\") + 1);
if(GetPVarInt(playerid,\"cameraInterpolate\") > 2) SetPVarInt(playerid, \"cameraInterpolate\", 0);
return 1;
}
« Utoljára szerkesztve: 2014. Június 09. - 18:41:20 írta BoOy »

Különleges szkinválasztó animálás
« Válasz #4 Dátum: 2014. Június 05. - 20:04:41 »
0 Show voters
ennek valaki nemtudja a kódját?
 
« Utoljára szerkesztve: 2014. Június 05. - 20:59:35 írta Flash »

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
Különleges szkinválasztó animálás
« Válasz #5 Dátum: 2014. Június 05. - 20:59:26 »
0 Show voters
Valahol megvan ez a script itt a fórumon is, de a youtube-n is van egy link csak regisztrálni kell: http://gtaforum.hu/index.php/topic,13120.msg107575.html#msg107575

Különleges szkinválasztó animálás
« Válasz #6 Dátum: 2014. Június 06. - 05:36:54 »
0 Show voters
karbantartás alatt...azt irja nem engedi hogy regizzek,...

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Különleges szkinválasztó animálás
« Válasz #7 Dátum: 2014. Június 08. - 10:34:52 »
0 Show voters
//  -------------------------------
//  Mozgó kamera a karakterválasztóban
//  Készítette GameStar
//      2012
//  -------------------------------
#include <a_samp>
#if !defined InterpolateCameraPos
#error \"A fordítód nem tartalmazza a 0.3e fájlokat!
#endif
#define CAMERA_TIME 8000
forward CameraInterpolate(playerid);
public OnPlayerConnect(playerid)
{
    SetPVarInt(playerid, \"cameraInterpolate\", 0);
SetPVarInt(playerid, \"skinTimer\", -1);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 2232.7930,-2458.5513,61.6104);
SetPlayerFacingAngle(playerid, 97.1613);
if(GetPVarInt(playerid,\"skinTimer\") == -1)
{
CameraInterpolate(playerid);
SetPVarInt(playerid, \"skinTimer\", SetTimerEx(\"CameraInterpolate\", CAMERA_TIME + 225, 1, \"i\", playerid));
}
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
    KillTimer(GetPVarInt(playerid,\"skinTimer\"));
SetPVarInt(playerid, \"skinTimer\", -1);
SetCameraBehindPlayer(playerid);
return 1;
}
public CameraInterpolate(playerid)
{
    switch(GetPVarInt(playerid,\"cameraInterpolate\"))
{
case 0:
{
   InterpolateCameraPos(playerid, 2228.596435, -2462.059082, 62.675743, 2226.085937, -2457.546875, 62.636756, CAMERA_TIME);
   InterpolateCameraLookAt(playerid, 2232.7930,-2458.5513,61.6104, 2232.7930,-2458.5513,61.6104, CAMERA_TIME);
}
case 1:
{
   InterpolateCameraPos(playerid, 2226.085937, -2457.546875, 62.636756, 2231.406250, -2456.153564, 61.862873, CAMERA_TIME);
   InterpolateCameraLookAt(playerid, 2232.7930,-2458.5513,61.6104, 2232.7930,-2458.5513,61.6104, CAMERA_TIME);
}
case 2:
{
   InterpolateCameraPos(playerid, 2231.406250, -2456.153564, 61.862873, 2228.596435, -2462.059082, 62.675743, CAMERA_TIME);
   InterpolateCameraLookAt(playerid, 2232.7930,-2458.5513,61.6104, 2232.7930,-2458.5513,61.6104, CAMERA_TIME);
}
}
SetPVarInt(playerid, \"cameraInterpolate\", GetPVarInt(playerid,\"cameraInterpolate\") + 1);
if(GetPVarInt(playerid,\"cameraInterpolate\") > 2) SetPVarInt(playerid, \"cameraInterpolate\", 0);
return 1;
}
« Utoljára szerkesztve: 2014. Június 09. - 18:41:20 írta BoOy »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal