Is it possible?
#8

Give this a try and let me know if it works:
pawn Код:
new F4[MAX_PLAYERS];
public OnPlayerRequestClass(playerid, classid)
{
    if(F4[playerid] == 1)
    {
        SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
        SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
        SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
        F4[playerid] = 0;
        print("value found to be 1");
        print("value set to be 0");
    }
    return 1;
}

public OnPlayerConnect(playerid)
{
    F4[playerid] = 1;
    print("Value set to 1");
    return 1;
}
Reply


Messages In This Thread
Is it possible? - by Rayan_black - 19.05.2013, 11:51
Re: Is it possible? - by Revo - 19.05.2013, 11:58
Re: Is it possible? - by GreTex - 19.05.2013, 12:04
Re: Is it possible? - by Rayan_black - 19.05.2013, 12:22
Re: Is it possible? - by Faisal_khan - 19.05.2013, 12:44
Re: Is it possible? - by Rayan_black - 19.05.2013, 12:46
Re: Is it possible? - by Faisal_khan - 19.05.2013, 12:48
Re: Is it possible? - by Faisal_khan - 19.05.2013, 13:39
Re: Is it possible? - by Rayan_black - 19.05.2013, 14:16
Re: Is it possible? - by Tamer - 19.05.2013, 14:20

Forum Jump:


Users browsing this thread: 1 Guest(s)