02.10.2013, 12:20
Me desculpe, procure por essa callback
Vocк precisa pegar a coordenada in-game.. usando /save
pawn Код:
public SetupPlayerForClassSelection(playerid)
{
new classstatus = CallRemoteFunction("ClassPosition", "i", playerid);
if(classstatus != 1){
// CLASS
/*SetPlayerInterior(playerid,12);
SetPlayerPos(playerid, 2324.397705, -1141.762573, 1050.983520);
SetPlayerFacingAngle(playerid, 182.187652);
SetPlayerCameraLookAt(playerid, 2324.397705, -1141.762573, 1050.983520);
SetPlayerCameraPos(playerid, 2324.397705 + (5 * floatsin(-182.187652, degrees)), -1141.762573 + (5 * floatcos(-182.187652, degrees)), 1050.983520);*/
SetPlayerInterior(playerid,1);
SetPlayerPos(playerid, 2235.768310, 1632.708129, 1008.359375);
SetPlayerFacingAngle(playerid, 0.110143);
SetPlayerCameraLookAt(playerid, 2235.768310, 1632.708129, 1008.359375);
SetPlayerCameraPos(playerid, 2235.768310 + (5 * floatsin(-0.110143, degrees)), 1632.708129 + (5 * floatcos(-0.110143, degrees)), 1008.359375);
ApplyAnimation(playerid,"DANCING","DNCE_M_B",4.0,1,0,0,0,-1);
}
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, Textdraw6);
TextDrawShowForPlayer(playerid, Textdraw7);
//ApplyAnimation(playerid,"DEALER","DEALER_IDLE",4.0,1,0,0,0,0);
}