Fps view help rep+
#3

Compile with 0.3e

pawn Код:
#include <a_samp>

new objet[MAX_PLAYERS];

public OnPlayerSpawn(playerid)
{
    objet[playerid] = CreateObject(19300, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0);
    AttachObjectToPlayer(objet[playerid], playerid, 0.0, 0.3, 0.7, 0, 0, 0);
    AttachCameraToObject(playerid, objet[playerid]);
    return true;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    SetCameraBehindPlayer(playerid);
    return true;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    AttachCameraToObject(playerid, objet[playerid]);
    return true;
}

public OnPlayerDisconnect(playerid, reason)
{
    DestroyObject(objet[playerid]);
    return true;
}
Reply


Messages In This Thread
Fps view help rep+ - by redreaper666 - 10.04.2012, 19:01
Re: Fps view help rep+ - by zbt - 10.04.2012, 19:06
Re: Fps view help rep+ - by ViniBorn - 10.04.2012, 19:06
Re: Fps view help rep+ - by redreaper666 - 10.04.2012, 19:22
Re: Fps view help rep+ - by Bleach79 - 10.04.2012, 19:31
Re: Fps view help rep+ - by redreaper666 - 11.04.2012, 07:18

Forum Jump:


Users browsing this thread: 1 Guest(s)