Problem with public SetPlayerSpawn (playerid)
#1

Good afternoon I come because I have a problem I can not solve is the following when you finish the tutorial example appears all white with the picture that showed

/imageshack/i/samp050kk.png/
Reply
#2

You probably did only set positions.
Set the interior (+ virtual world).
In the image, the player is in a wrong interior ID :P
Reply
#3

as it is well inside the airport jejejeje
Reply
#4

Huh what? I didn't get that one.
Did it work now, or do you need an interior ID?
Reply
#5

this well

pawn Код:
public SetPlayerSpawn(playerid)
{
    if(IsPlayerConnected(playerid))
    {
        //TextDrawShowForPlayer(playerid,Information[playerid]);
        //SetPlayerSkin(playerid, PlayerInfo[playerid][pChar]);
        if(PlayerInfo[playerid][pTut] == 0)
        {
            gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
            SetPlayerInterior(playerid, 14);
            SetPlayerPos(playerid,-1830.5217,18.3851,1061.1436);
            SetPlayerCameraPos(playerid, -1832.4875, 12.6962, 1061.7435);
            SetPlayerCameraLookAt(playerid, -1831.9642, 22.6825, 1061.7435);
            PlayerInfo[playerid][pInt] = 14;
            SetPlayerFacingAngle(playerid,180.0);
            TogglePlayerControllable(playerid, 0);
            RegistrationStep[playerid] = 1;
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)