Fps view help rep+
#1

I get this errors when i start to compile:
Код:
E:\Programme\...\...\...\...\pawno\fps.pwn(10) : warning 217: loose indentation
E:\Programme\...\...\...\...\pawno\fps.pwn(11) : warning 217: loose indentation
E:\Programme\...\...\...\...\pawno\fps.pwn(11) : error 017: undefined symbol "AttachCameraToObject"
E:\Programme\...\...\...\...\pawno\fps.pwn(22) : error 017: undefined symbol "AttachCameraToObject"
Here is the script:
Код:
#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]); 
}


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

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


public OnPlayerDisconnect(playerid, reason)
{
DestroyObject(objet[playerid]);
}
pls help me with that rep +
i know how to fix the loose indentation error
but how to fix the other one
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: 2 Guest(s)