GetActorAnimation(actorid, animlib[], animname[], maxanimlib = sizeof animlib, maxanimname = sizeof animname); GetActorAnimationEx(actorid, animlib[], animname[], &Float:fdelta, &loop, &lockx, &locky, &freeze, &time, maxanimlib = sizeof animlib, maxanimname = sizeof animname);
IsActorPlayingAnimation(actorid);
ToggleActorAnimationLoop(actorid, bool:status);
OnPlayerStopTargetActor(playerid, actorid, weaponid); // #define DONT_DETECT_OPTA can be defined if you won't detect use any timer for OnPlayerTargetActor(playerid, actorid, weaponid); & OnPlayerStopTargetActor(playerid, actorid, weaponid);
SetActorArea(actorid, range=ACTOR_MAX_TRIGGER_AREA);
GetActorAreaState(actorid, &bool:state); OnPlayerEnterActorArea(playerid, actorid); OnPlayerExitActorArea(playerid, actorid); PlayActorSoundForPlayer(actorid, soundid, duration=0.0);
ApplyActorAnimation : - Passing an invalid animation library in ApplyAnimation causes a client crash for streamed in players. FIX: Block ApplyActorAnimation when an invalid library is passed. -First time a library is used, it does nothing. FIX:Apply animations twice when first using a library.
Код:
ToggleActorAnimationLoop(actorid, bool:status); |
Код:
SetActorArea(actorid, range=ACTOR_MAX_TRIGGER_AREA); no trigger zone when actor created. if range 0.0, no trigger zone (destroy area if exists). Код:
GetActorAreaState(actorid, &bool:state); OnPlayerEnterActorArea(playerid, actorid); OnPlayerExitActorArea(playerid, actorid); |
PlayActorSoundForPlayer(actorid, soundid, duration=0.0);[/CODE]
sound played at actor pos. if playerpos > range of 20, no sound played. duration: duration before stopsound (some soundid are looped) |
Код:
ApplyActorAnimation : - Passing an invalid animation library in ApplyAnimation causes a client crash for streamed in players. FIX: Block ApplyActorAnimation when an invalid library is passed. -First time a library is used, it does nothing. FIX:Apply animations twice when first using a library. |
native DestroyAllDynamicActors(serverwide);
native CountDynamicActors(serverwide);
native UpdateDynamicActorForPlayer(playerid);
native CountStreamedActorForPlayer(playerid, serverwide);
native STREAMER_TAG_AREA GetDynamicActorArea(actorid);
native SetDynamicActorArea(actorid, STREAMER_TAG_AREA areaid);
native GetDynamicActorPriority(actorid);
native SetDynamicActorPriority(actorid, priority);
native GetInternalActorIdForPlayer(forplayerid, actorid); // renamed from GetRealActorID
native ActorPlaySound(actorid, soundid, Float:x, Float:y, Float:z, Float:max_range, bool:isdynamic = DEFAULT_IS_DYNAMIC_PARAMETER);
native IsPlayerAimingActor(playerid, actorid);
Pawn compiler 3.10.6 Copyright © 1997-2006, ITB CompuPhase pawno\include\actor_plus.inc(422) : warning 213: tag mismatch pawno\include\actor_plus.inc(424) : warning 213: tag mismatch pawno\include\actor_plus.inc(609) : warning 213: tag mismatch pawno\include\actor_plus.inc(617) : warning 213: tag mismatch pawno\include\actor_plus.inc(618) : warning 213: tag mismatch pawno\include\actor_plus.inc(619) : warning 213: tag mismatch pawno\include\actor_plus.inc(620) : warning 213: tag mismatch pawno\include\actor_plus.inc(621) : warning 213: tag mismatch pawno\include\actor_plus.inc(973) : warning 213: tag mismatch pawno\include\actor_plus.inc(974) : warning 213: tag mismatch pawno\include\actor_plus.inc(1001 -- 1004) : warning 213: tag mismatch pawno\include\actor_plus.inc(1001 -- 1004) : warning 213: tag mismatch pawno\include\actor_plus.inc(1192) : warning 213: tag mismatch pawno\include\actor_plus.inc(1193) : warning 213: tag mismatch pawno\include\actor_plus.inc(2218) : warning 213: tag mismatch Header size: 71704 bytes Code size: 3527696 bytes Data size: 28946136 bytes Stack/heap size: 17039360 bytes; estimated max. usage=4039 cells (16156 bytes) Total requirements:49584896 bytes
native CountStaticActors();
native GetActorSpawnInfo(actorid, &skinid, &Float:fX, &Float:fY, &Float:fZ, &Float:fAngle, bool:isdynamic = DEFAULT_IS_DYNAMIC_PARAMETER);
native GetActorAnimationName(actorid, animlib[], size_animlib = sizeof(animlib), animname[], size_animname = sizeof(animname)); // Static actors only
native GetActorAnimation(actorid, animlib[], size_animlib = sizeof(animlib), animname[], size_animname = sizeof(animname), &Float:fDelta, &loop, &lockx, &locky, &freeze, &time); // Static actors only
native ToggleActorAnimationLoop(actorid, bool:toggle); // Static actors only
native bool:IsActorPlayingAnimation(actorid, bool:isdynamic = DEFAULT_IS_DYNAMIC_PARAMETER);
native CountAllActors();
native SetActorPosForPlayer(forplayerid, actorid, fake_position_type, Float:x, Float:y, Float:z, Float:angle, bool:isdynamic = DEFAULT_IS_DYNAMIC_PARAMETER);
Код:
Pawn compiler 3.10.6 Copyright © 1997-2006, ITB CompuPhase pawno\include\actor_plus.inc(422) : warning 213: tag mismatch pawno\include\actor_plus.inc(424) : warning 213: tag mismatch pawno\include\actor_plus.inc(609) : warning 213: tag mismatch pawno\include\actor_plus.inc(617) : warning 213: tag mismatch pawno\include\actor_plus.inc(618) : warning 213: tag mismatch pawno\include\actor_plus.inc(619) : warning 213: tag mismatch pawno\include\actor_plus.inc(620) : warning 213: tag mismatch pawno\include\actor_plus.inc(621) : warning 213: tag mismatch pawno\include\actor_plus.inc(973) : warning 213: tag mismatch pawno\include\actor_plus.inc(974) : warning 213: tag mismatch pawno\include\actor_plus.inc(1001 -- 1004) : warning 213: tag mismatch pawno\include\actor_plus.inc(1001 -- 1004) : warning 213: tag mismatch pawno\include\actor_plus.inc(1192) : warning 213: tag mismatch pawno\include\actor_plus.inc(1193) : warning 213: tag mismatch pawno\include\actor_plus.inc(2218) : warning 213: tag mismatch Header size: 71704 bytes Code size: 3527696 bytes Data size: 28946136 bytes Stack/heap size: 17039360 bytes; estimated max. usage=4039 cells (16156 bytes) Total requirements:49584896 bytes |
actor_plus.inc(1657) : warning 203: symbol is never used: "isdynamic" actor_plus.inc(1795) : error 021: symbol already defined: "GetActorAnimation" actor_plus.inc(1797) : error 010: invalid function or declaration actor_plus.inc(1798) : error 010: invalid function or declaration actor_plus.inc(1800) : error 010: invalid function or declaration actor_plus.inc(1801) : error 010: invalid function or declaration actor_plus.inc(1803) : error 021: symbol already defined: "strcat" actor_plus.inc(1811) : error 010: invalid function or declaration Pawn compiler 3.10.8 Copyright © 1997-2006, ITB CompuPhase 7 Errors.
CountAllActors();
CountStaticActors();
PHP код:
|
C:\Pawno\include\actor.inc(153) : error 025: function heading differs from prototype C:\Pawno\include\actor.inc(165) : error 025: function heading differs from prototype C:\Pawno\include\actor.inc(169) : error 025: function heading differs from prototype C:\Pawno\include\actor.inc(460) : error 004: function "OnActorDeath" is not implemented C:\Pawno\include\actor.inc(763) : error 059: function argument may not have a default value (variable "isdynamic") C:\Pawno\include\actor.inc(764) : error 021: symbol already defined: "RespawnActor" C:\Pawno\include\actor.inc(997) : error 025: function heading differs from prototype C:\Pawno\include\actor.inc(997) : error 025: function heading differs from prototype C:\Pawno\include\actor.inc(1001) : error 021: symbol already defined: "Attach3DTextLabelToActor" C:\Pawno\include\actor.inc(1040) : warning 213: tag mismatch: expected tag "Text3D", but found none ("_") C:\Pawno\include\actor.inc(1070) : warning 213: tag mismatch: expected tag "Text3D", but found none ("_") C:\Pawno\include\actor.inc(1079) : warning 213: tag mismatch: expected tag "Text3D", but found none ("_") C:\Pawno\include\actor.inc(1232) : warning 213: tag mismatch: expected tag none ("_"), but found "Float" C:\Pawno\include\actor.inc(1232) : error 017: undefined symbol "store_string" C:\Pawno\include\actor.inc(1232) : warning 217: loose indentation C:\Pawno\include\actor.inc(1232) : warning 215: expression has no effect C:\Pawno\include\actor.inc(1232) : error 001: expected token: ";", but found ")" C:\Pawno\include\actor.inc(1232) : error 029: invalid expression, assumed zero C:\Pawno\include\actor.inc(1232) : fatal error 107: too many error messages on one line Compilation aborted. Pawn compiler 3.10.8 Copyright © 1997-2006, ITB CompuPhase 13 Errors. [Finished in 1.8s]
I get the following errors when trying to use this include:
Код:
C.. Compilation aborted. Pawn compiler 3.10.8 Copyright © 1997-2006, ITB CompuPhase 13 Errors. [Finished in 1.8s] |