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 - Mohamed Boubekri

#1
Script Showroom / Re: BindKey Process System
Mar 18, 2024, 10:22 AM
Setting the time during a key press is a very useful feature to prevent occasional hacking or delays in some scripts.
good job.
#2
Quote from: gamingpro on Jan 28, 2024, 07:54 AMHi bro, Can you tell me how you port forward please ?, because i try it but not success please tell me, Are port forward show server in masterlist or not ?

Hey, just add announce plugin in server.cfg
And try to port forward the port number you have in server.cfg by your router.
#3
Script Showroom / Re: Ban & echo,system
Mar 13, 2024, 01:40 PM
You need to create database, store player informations into it, for example: name, id, ip, uid, ban (true, false)... And simply you can select any row from database by one of the informations and change 'ban' with values true or false.
There are many examples in the forum, just search you will be fine.
#4
Note: The system has been updated you can see that above.
We are using now client-function which is ScriptProcess(), because NewTimer func cause lag in the server.
Don't delete this one "player.SetAnim(0,2)" because it's necessary to stop the walking animation.
#5
Quote from: Gulk on Oct 01, 2023, 03:23 PMTry setting the vehicle weight very high when its unoccupied.
It's seems a good idea :p
But i think it's not real, i will be like the person who will be laugh at the players indirectly.
#6
Quote from: 2b2ttianxiu on Oct 01, 2023, 12:50 PMwhen newX, newY or newZ == 0, bool is false and the vehicle can move. but is so less problem
I have created the system & it's working great.
But it's somehow a little bit laggy, test it: https://forum.vc-mp.org/index.php?topic=9337.0
And if you have any ideas to improve lag, please share it with us.
#7
Videos & Screenshots / New announcement style
Sep 27, 2023, 10:24 AM
Simple one, but it's looks like the console is printing the text character by character.

#8
Alright, thank you
#9
Quote from: vitovc on Sep 16, 2023, 03:48 PMwell you can look into ctf's clientside scripts. its GUI_FLAG_3D_ENTITY flag + Position3D Rotation3D values (in ctf its hardcoded, to calculate them you need to google some math or just playing with different values manually)
Alright, but those lignes & columns have been created by DecUI ?
#10
Those labels are not moving.
its just, like a wall or object contains labels.
#11
#12
Scripting and Server Management / Question !
Sep 15, 2023, 02:28 PM
Hey everyone, i want to know if there any-way to put a label on a wall (object) or (custom object) ?
#13
local Array=[0,1];
Array.insert(0,vehicle.Pos.x), Array.insert(1,vehicle.Pos.y);
Message("here is your x: "+Array[0]+" and your y: "+Array[1]);
Its done now, anyway thanks.
#14
Quote from: habi on Sep 10, 2023, 07:04 AMwill that work datablob.writenstring because that is not listed in squirrel's reference.
https://developer.electricimp.com/squirrel/blob/writestring
Quote from: habi on Sep 10, 2023, 07:04 AMTo write float,
I need to write a string, if there is no way to insert string into blob, then how i can insert string into array ?
local Array = [0];
Array.insert(0, "+vehicle.Pos.x+");
Message("here is your x: "+Array.find(0));
#15
Hey everyone, i want to create something like this:
local dataBlob = blob(512);
dataBlob.writestring(vehicle.Pos.x);
Message("here is your x: "+dataBlob.readblob(512));
But i get error in the second line, "data types string expected float/integer"
How i can put vehicle pos in blob ? if blob take only integer/float values, then how i can do the above example
in Array ?