Whats up with these errors? -
cloudysky - 28.04.2011
pawn Код:
(92) : error 021: symbol already defined: "SetPlayerAttachedObject"
(93) : error 021: symbol already defined: "RemovePlayerAttachedObject"
(94) : error 021: symbol already defined: "IsPlayerAttachedObjectSlotUsed"
(104) : error 021: symbol already defined: "SetVehicleParamsEx"
(105) : error 021: symbol already defined: "GetVehicleParamsEx"
It's weird it works for my mate but not me. He gave me his includes and it still doesn't work for me. Please help!
Re: Whats up with these errors? -
Backwardsman97 - 28.04.2011
Is your server and compiler updated to the latest version?
Re: Whats up with these errors? -
cloudysky - 28.04.2011
Yeah
Re: Whats up with these errors? -
tanush - 28.04.2011
we cannot read your mind, line?
Re: Whats up with these errors? -
cloudysky - 28.04.2011
pawn Код:
native SetPlayerAttachedObject(playerid, index, modelid, bone, Float:fOffsetX = 0.0, Float:fOffsetY = 0.0, Float:fOffsetZ = 0.0, Float:fRotX = 0.0, Float:fRotY = 0.0, Float:fRotZ = 0.0, Float:fScaleX = 1.0, Float:fScaleY = 1.0, Float:fScaleZ = 1.0); // error line
native RemovePlayerAttachedObject(playerid, index); //error line
native IsPlayerAttachedObjectSlotUsed(playerid, index); // error line
#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1);
#define VEHICLE_PARAMS_UNSET -1
#define VEHICLE_PARAMS_OFF 0
#define VEHICLE_PARAMS_ON 1
native SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); //error line
native GetVehicleParamsEx(vehicleid, &engine, &lights, &alarm, &doors, &bonnet, &boot, &objective); // error line
Re: Whats up with these errors? -
tanush - 28.04.2011
remove
pawn Код:
native SetPlayerAttachedObject(playerid, index, modelid, bone, Float:fOffsetX = 0.0, Float:fOffsetY = 0.0, Float:fOffsetZ = 0.0, Float:fRotX = 0.0, Float:fRotY = 0.0, Float:fRotZ = 0.0, Float:fScaleX = 1.0, Float:fScaleY = 1.0, Float:fScaleZ = 1.0); // error linenative
native RemovePlayerAttachedObject(playerid, index); //error linenative
native IsPlayerAttachedObjectSlotUsed(playerid, index); // error line
native SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective); //error linenative
native GetVehicleParamsEx(vehicleid, &engine, &lights, &alarm, &doors, &bonnet, &boot, &objective);
Re: Whats up with these errors? -
cloudysky - 28.04.2011
I don't get what you mean? :/ Don't i need them?
Re: Whats up with these errors? -
tanush - 28.04.2011
REMOVE THOSE LINES!!!!!!!!
Re: Whats up with these errors? -
cloudysky - 28.04.2011
OK THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!
Re: Whats up with these errors? -
aircombat - 28.04.2011
u don't need to define (native) the functions which are already in samp
Re: Whats up with these errors? -
sleepysnowflake - 28.04.2011
Okey, this topic was really useless ...
It nicely says :
FUNCTION ALREADY DEFINED which means it's defined
SOMEWHERE ELSE (samp include) and you just need to
READ the freacking errors/warnings