help lol!!!!
#1

its a noob question but how i can change the places on the request class? i mean for a team to show him some where and for the other team to show him in other place.

pls help!
Reply
#2

You need to do it like this:

pawn Код:
SetPlayerPos(playerid,PlayerX,PlayerY,PLayerZ);
SetPlayerCameraPos(playerid,CameraX,CameraY,CameraZ);
SetPlayerCameraLookAt(playerid,X1,Y1,Z1);
SetPlayerFacingAngle(playerid, FacingAngle);
As the Facing-Angle you just use the angle you saved together with the Players Position.
The Cameras position should not be the same as the players position. All in all it's easy.

Have fun trying out!

Cheers!

Reply
#3

i know that but i want to change places for every class.
Reply
#4

Use GetPlayerSkin, if you use different skins, or GetPlayerTeam, if you use different teams.
Reply
#5

thanks for help!
Reply
#6

Use it like this:

pawn Код:
ClassSelectionSetup(playerid)
{
SetPlayerPos(playerid,PlayerX,PlayerY,PLayerZ);
SetPlayerCameraPos(playerid,CameraX,CameraY,CameraZ);
SetPlayerCameraLookAt(playerid,X1,Y1,Z1);
SetPlayerFacingAngle(playerid, FacingAngle);
}
and put this into
Quote:

OnPlayerRequestClass()

pawn Код:
ClassSelectionSetup(playerid);
Reply
#7

Quote:
Originally Posted by тħeρяш
Use it like this:

pawn Код:
ClassSelectionSetup(playerid)
{
SetPlayerPos(playerid,PlayerX,PlayerY,PLayerZ);
SetPlayerCameraPos(playerid,CameraX,CameraY,CameraZ);
SetPlayerCameraLookAt(playerid,X1,Y1,Z1);
SetPlayerFacingAngle(playerid, FacingAngle);
}
and put this into
Quote:

OnPlayerRequestClass()

This wouldn't change a thing, lol

Quote:
Originally Posted by billiout
thanks for help!
Np.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)