SetActorWeapon Not Working File or function is not found"
#1

Help Me

SA-MP Dedicated Server
----------------------
v0.3.7, ©2005-2015 SA-MP Team

[13:49:05] filterscripts = "" (string)
[13:49:05]
[13:49:05] Server Plugins
[13:49:05] --------------
[13:49:05] Loading plugin: audio.so
[13:49:05]

*** Audio Plugin v0.4 by Incognito loaded ***


[13:49:05] Loaded.
[13:49:05] Loading plugin: sscanf.so
[13:49:05]

[13:49:05] ===============================

[13:49:05] sscanf plugin loaded.

[13:49:05] Version: 2.8.1

[13:49:05] © 2012 Alex "******" Cole

[13:49:05] ===============================

[13:49:05] Loaded.
[13:49:05] Loading plugin: streamer.so
[13:49:05]

*** Streamer Plugin v2.7.8 by Incognito loaded ***

[13:49:05] Loaded.
[13:49:05] Loading plugin: Whirlpool.so
[13:49:05]
[13:49:05] ==================
[13:49:05]
[13:49:05] Whirlpool loaded
[13:49:05]
[13:49:05] ==================
[13:49:05]
[13:49:05] Loaded.
[13:49:05] Loading plugin: nativechecker.so
[13:49:05] Loaded.
[13:49:05] Loaded 5 plugins.

[13:49:05]
[13:49:05] Ban list
[13:49:05] --------
[13:49:05] Loaded: samp.ban
[13:49:05]
[13:49:06]
[13:49:06] Filterscripts
[13:49:06] ---------------
[13:49:06] Loaded 0 filterscripts.

[13:49:06] Error: Function not registered: 'SetActorWeapon'
[13:49:06] Script[gamemodes/BCRP.amx]: Run time error 19: "File or function is not found"
[13:49:06] Number of vehicle models: 0
Reply
#2

You are missing a plugin.
Reply
#3

How do I restore plugin
Reply
#4

SetActorWeapon function does not exist either in SA-MP (not supported) or plugins listed on the log you gave, I also cannot find any plugin that has SetActorWeapon function in ******, please check your code... there must be something written:
Код:
native SetActorWeapon()
inside your gamemode script or includes...
If you are not using it, then remove it. If you are using it, then show the code.

If you wanted an "actor" have weapon, please use NPC instead.
Reply
#5

http://pastebin.com/Af65Nb5a -Actor.inc
Everything is written in the rule but then the server is no longer activated. Usually keeps.
Reply
#6

I have literally never seen those functions, did you just make up those functions? They are not native functions(atleast in terms of not having a plugin), so if it has worked before you must be missing a plugin / resource.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)