Guest Ken Posted July 23, 2009 Report Share Posted July 23, 2009 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 More sharing options...
cmg4life Posted July 25, 2009 Report Share Posted July 25, 2009 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 More sharing options...
-=[Vyorel]=- Posted July 25, 2009 Report Share Posted July 25, 2009 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 ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez. Link to comment Share on other sites More sharing options...
cmg4life Posted July 25, 2009 Report Share Posted July 25, 2009 =-" 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 More sharing options...
Question
Guest Ken
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