24.06.2013, 22:14
Whats the Interior?
here you go
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerInterior(playerid,14); //The places Interior
SetPlayerPos(playerid,1958.3783, 1343.1572, 15.3746);//Changed X,Y,Z axis.
SetPlayerFacingAngle(playerid, 270.0); //The player facing angle.
SetPlayerCameraPos(playerid,1958.3783, 1343.1572, 15.3746); //The Camera position
SetPlayerCameraLookAt(playerid,1958.3783, 1343.1572, 15.3746); //The camera looks at PlayerPos
switch (classid)
{
case 0, 1:
{
GameTextForPlayer(playerid, "~red~ TEST", 3000, 5);
}
case 2:
{
GameTextForPlayer(playerid, "~G~ TEST", 3000, 5);
}
}
return 1;
}