OnPlayerRequestClass
#7

Whats the Interior?
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;
}
here you go
Reply


Messages In This Thread
OnPlayerRequestClass - by Tellop - 24.06.2013, 22:04
Re: OnPlayerRequestClass - by BpVanshVk - 24.06.2013, 22:05
Re: OnPlayerRequestClass - by Tellop - 24.06.2013, 22:06
Re: OnPlayerRequestClass - by _Khaled_ - 24.06.2013, 22:06
Re: OnPlayerRequestClass - by Tellop - 24.06.2013, 22:08
Re: OnPlayerRequestClass - by HaiderABbas - 24.06.2013, 22:14
Re: OnPlayerRequestClass - by _Khaled_ - 24.06.2013, 22:14
Re: OnPlayerRequestClass - by DeMoX - 24.06.2013, 22:15
Re: OnPlayerRequestClass - by Tellop - 24.06.2013, 22:16
Re: OnPlayerRequestClass - by _Khaled_ - 24.06.2013, 22:23

Forum Jump:


Users browsing this thread: 2 Guest(s)