spawn Class
#1

hello can someone help me to spawn Class like this please

https://www.youtube.com/watch?v=LCg6bxOzW-Y
Reply
#2

OnPlayerRequestClass(playerid,classid)
{
switch(classid)
{
case 0:
{
// SetPlayerCameraPos/LookAt
}
}
return 1;
}
https://sampwiki.blast.hk/wiki/SetPlayerCameraPos
https://sampwiki.blast.hk/wiki/SetPlayerCameraLookAt
Sorry about the messed-up indentation.
Reply
#3

thanks but how to make the camera look to places like in video sorry for my suck english
Reply
#4

help!!!
Reply
#5

pawn Код:
switch (classid)
        case 0:
        {
            if(classid == 0)
            SetPlayerCameraPos(playerid, 2462.4019,-1658.0359,13.3047); // where the camera looking
            SetPlayerCameraLookAt(playerid, 2468.6868,-1660.0106,13.3356); //camera look at
            SetPlayerFacingAngle(playerid, 70.7120);//Angle ,how he stand
        }
And ofc don't forget to change Floats to your X,Y,Z
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)