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 - KX

#1
but why OnTimeChange when we can use a timer? I guess doing same thing with a timer is same unless you hate "newtimer" word :P
#2
Quote from: UncleRus on May 26, 2020, 07:44 AMWho can give the base to this viceland_db.db on this forum? I found the script itself for this, but I need this file, whoever has a discard
Who gave you viceland script?
tell me and get the viceland.db file :)
#4
Tutorials / Re: create_actor
May 05, 2020, 02:07 AM
Quote from: MEGAMIND on May 04, 2020, 06:31 PM
Quote from: habi on May 04, 2020, 05:06 PM
Quote from: MEGAMIND on May 04, 2020, 04:20 PM.....but the thing is at alomost 3-4 npcs the server gets crashed after each bot has done its task, why does it happen
on blank server?
on TDCS server, blank would obviously make no issues but what if people adapt this method on there server so there server will get crashed in an hour/after an hour

If working on blank script then something is wrong with your script or you are doing something wrong.
#5
General Discussion / Re: [Help] LUnet?
Apr 22, 2020, 05:17 PM
/cs access add name role
roles are: SOP, AOP, HOP, VOP.
#6
Create a function with the admin message name or any name you want then Run a loop and check if the player level is equal to the admin level or greater than that.
if you want a readymade code then forget it at least from me but if you tried and got errors you are good to post here
#7

Server: Extreme Fighting Zone Official Server
IP:  5.253.86.218:8192
Slots: 100
Gamemode: DM - Beta 0.1 (JAVA) 
Developers: @Gulk, @Decent_946
Credits: @Newk(Scripting), @RoyStang(Forum logo and badges)
Website: https://efz-server.ml/
Discord: https://discord.gg/MpRTHdw
 

 
 
The Server
 
Get ready to experience pure Death Match. Extreme Fighting Zone (EFZ) brings you the joy to fight, survive and win rewards!
No complicity, No restrictions, Just Death Match. EFZ has been developed in JAVA, the world's top programming language.
We aim to bring you a lag/bug/desync free server to enjoy the gaming.
 
 
The Community
 
EFZ welcomes everyone to be a part of our community by joining us in the server, discord and our website. We work to
keep things simple and accessible to everyone. Being a part of VC-MP, we understand the needs of players.
EFZ believes, "Simplicity is the best policy". We'll continue to introduce things that are simple and joyful for you. ;)
 
Administration
 
The server is administrated by well-known players in VC-MP. With our experience in the game, We promise
to revolutionalize the future of Vice City Multiplayer with never-ending entertainment. We're 24/7 available
to support our players and provide them a ground where they can enjoy the DM without any restrictions.
 
 
Experience pure Death-Match. Come join us right now! https://efz-server.ml/
#8
Usage of .sleep is not recommended as it will hang up the whole server thread for 5 seconds
public void heal(Player player) throws InterruptedException{
        TimeUnit.SECONDS.sleep(5);
        player.setHealth(100);
    }
its better to use proper timer than using .sleep as timer
public void heal(Player player) {
 timerRegistry.register(false, 5000, new Runnable() {
  @Override
  public void run() {
   player.setHealth(100);
  }
 });

}
#9
Quote from: Gitobaloch on Mar 30, 2020, 03:17 PMyour replies didn't help me give me a code that i will get idea how to do that.
local counter = 0; //create a counter variable with default value 0counter++; // increase the counter when a player joins duel
if(count >= 2) return MessagePlayer(player, "A fool is trying to limit players"); //Check when player tries to join duel
#10
Quote from: Gitobaloch on Mar 29, 2020, 12:41 PMcan you guys tell me How to set Duel Player Limit i mean if two players join a duel so third player cannot join how to do this?
No unless you share your duel code here.
#11
if(plr.Name == "Chutiyeitnatoseekle") player.ban();= can be used for assigning values to variable whereas == is used for comparing strings.
#12
local player=FindPlayer(player);to
local player=FindPlayer(player.Name);
#13
Quote from: Gitobaloch on Mar 24, 2020, 10:56 AMSeby i cant find any wep pickup in wiki? u give me
CreatePickup(weaponID, world, ammo, player.pos, 255, true);Also here is the link about which sseebbyy told you
-> http://wiki.thijn.ovh/index.php?title=Scripting/Squirrel/Functions/CreatePickup