Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - PLAYER

#1
Can you please Provide the link for it Because i tried my best to found it but i failed  :-[
#2
Scripting and Server Management / Bot Damage
Apr 23, 2025, 10:08 AM
Hello Guys! I came to know how can we Give damage to our Bot it keep shooting me and I Got damage but if I Shoot it It don't get any damage Please tell me the way to give bot damage as our Player get Damage on shoot
#3
I used the Same Structure You Gave me:-
ConnectNPCEx("Bot", Vector(-1375.21, -664.22, 14.1484), 90.0, 1, 26, 255, "shoot.nut", true, "127.0.0.1", "rpclib actionlib");

But its still showing error
Failed loading plugin: rpclib
Failed loading plugin: actionlib
 Loaded 0 plugins

#4
anyone know how to fix ?
#5
Thanks bro for help
#6
Do someone know ?
#7
Its latest for 0.4.7.1
#8
Linux Server ( Not Attacking )
https://i.imgur.com/HWs2uqw.png
Blank Server ( Attacking )
https://i.imgur.com/asJh5fC.png
#9
Hello everyone Today i was trying to add bot in my server So i used Habi npc04rel64 Plugin Then I added The Bot in my server The Bot Sucessfully Joined Server But When I tried to make it Attack Players it Doesn't attacked any player I used This Script
function OnNPCScriptLoad( params )
{
SetTimerEx("Check", 200, 0);
}

function Check()
{
if(GetTarget()!=-1)
return;

for(local i=0;i<100;i++)
{
if(IsPlayerConnected(i)&&IsPlayerStreamedIn(i))
{
if(GetPlayerState(i)==PLAYER_STATE_AIM)
{
if(GetDistanceFromMeToPoint(GetPlayerPos(i))<40)
{
if( GetTarget()== -1 )
ShootPlayer(i);
}
}
}
}
}

Its Working on Blank Server Windows But when I Try to add in it my Real server Linux Its not show any error on Console Just Bot Stand at one Place and Don't shoot
In Blank Server SHooting
but in Linux Server not shooting even with same script and also there is no error on Console

#10
I wanna make my Bot Shoot players but i can't because of this error
#11
Hi Habi I am Having Problem With Loading These Plugins
Failed loading plugin: rpclib
Failed loading plugin: actionlib
 Loaded 0 plugins.

AN ERROR HAS OCCURRED [the index 'GetTarget' does not exist]
CALLSTACK
*FUNCTION [Check()] npcscripts/shoot.nut line [8]

ConnectNPC("bot","shoot.nut",false,"","rpclib actionlib");
#12
Hello do someone know how can i spawn player Fast ? I mean as Asian City when Player Die The Death Camera Clear Fast and Then Player Can Spawn Fast Do someone Know how to do it ?
#13
Thanks I appreciate
#14
Hi Guys! I am Finding 04rel004 Version of VC:MP Server If someone Have it Please Send me
#15
Hey Guys! I used Every Time Function I got this one on Wiki
if ( cmd == "date" )
     {
          ClientMessage( "The time is now: " + GetFullTime(), plr, 135, 210, 40 );
     }

This Also Not Worked And Console Printed A Message:  GetTime is deprecated and may be removed in the future.
Please use Squirrel's time() function instead.
Btw I used This one Also GetTime() But same Message printed on Console.