10.04.2012, 19:01
I get this errors when i start to compile:
Here is the script:
pls help me with that rep +
i know how to fix the loose indentation error
but how to fix the other one
Код:
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"
Код:
#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]); }
i know how to fix the loose indentation error
but how to fix the other one