NPC/Bots implementation in VCMP 0.4 Servers

Started by habi, Apr 01, 2022, 05:37 PM

Previous topic - Next topic

MEGAMIND

Quote from: habi2 on Nov 22, 2024, 05:07 PM
Quotebut problem is if kick 1 or any id then its not working even thouhg my npc is admin
hi megamind, i think the npc is sending the command to server but server or your script is not kicking the player. Check the event onPlayerCommand and find the case when cmd is "kick".
yea it worked thanks i have some freaking mechanism to kick or ban a player well i did the alternate thanks again

MEGAMIND

@habi2 how can u get a player position from RFC example

PlayerPos<-RFC(0,"GetPlayerPos");
print(PlayerPos);
where i want both the id 0 and other player that can be any id

MEGAMIND

Quote from: MEGAMIND on Nov 27, 2024, 10:41 AM@habi2 how can u get a player position from RFC example

PlayerPos<-RFC(0,"GetPlayerPos");
print(PlayerPos);
where i want both the id 0 and other player that can be any id
ah oki so i found an alternate idk if it sorts my issue out ill try this
local pid = GetPlayerIDFromName(player);
 local pid2 =  FindPlayer(pid).Pos;
 print(pid2);

and get back to u if what im really looking for

habi2

i have no idea what you are doing :P

MEGAMIND

Quote from: habi2 on Nov 27, 2024, 12:29 PMi have no idea what you are doing :P
u realy dont wanna know doing something wide range idk just to let know that making a.i see stuff via npc eyes lol