Jump to content
  • 0

schimbare unghi


Guest Ken

Question

cand intru pe server,sa aleg caracterul,imi arata intr-un unghi aiurea...Cand il selectez ma uit la el prin spate..Cum schimb unghiul sa-l privesc din fata?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Te joci cu OnPlayerRequestClass, SetPlayerPos, unde il pune atunci. SetPlayerCameraPos unde sta camera (de unde vezi tu) SetPlayerCameraLookAt, la ce se uita camera, parca astea erau... iei coordonatele singur, eventual ia-ti un jetpack dak vrei sa se vada din aer sau ceva... sall

-Toate tutorialele postate intra aici sau puneti-le direct [url=http://www.sa-mp.ro/forum/index

Link to comment
Share on other sites

Pe scurt, codul trebuie sa arate asa:

public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, X, Y, Z);
    SetPlayerCameraPos(playerid, X,Y,Z);
    SetPlayerCameraLookAt(playerid, X, Y, Z);
    PlayerPlaySound(playerid,1058 ,0, 0, 0);//asta daca vrei sa cante o melodie
    ApplyAnimation(playerid,"DANCING","dnce_M_b",4.0,1,0,0,0,-1);//daca vrei sa se miste skin-ul
    return 1;
}

X, Y, Z = coordonatele

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

=-" post="16451" timestamp="1248519279"]

Pe scurt, codul trebuie sa arate asa:

public OnPlayerRequestClass(playerid, classid)
{
    SetPlayerPos(playerid, X, Y, Z);
    SetPlayerCameraPos(playerid, X,Y,Z);
    SetPlayerCameraLookAt(playerid, X, Y, Z);
    PlayerPlaySound(playerid,1058 ,0, 0, 0);//asta daca vrei sa cante o melodie
    ApplyAnimation(playerid,"DANCING","dnce_M_b",4.0,1,0,0,0,-1);//daca vrei sa se miste skin-ul
    return 1;
}

ai pus o urat rau... X Y Z peste tot, o sa inteleaga k e vorba de aceleashi coordonate... bey vyo raspunde calumea daca raspunzi...

X, Y, Z = coordonatele

-Toate tutorialele postate intra aici sau puneti-le direct [url=http://www.sa-mp.ro/forum/index

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.