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.

Topics - umar4911
Closed Bug Reports / [Bug] Client Side label size
« on June 13th, 2018, 08:13 AM »
When coding in client side, we add a label.
local sX = GetGUISize().X;
Scoreboard.Label = GUILabel(........ (sX/2 + 150)....);

If we are using a smaller screen for testing and working perfectly ( near the end if one side of screen) but when we increase the size (even after reconnect) it comes to away from the side.


What you were doing when the bug happened
Nothing, just using cmds.

What you think caused the bug
Dont know

Scripting and Server Management / Building Server Plugins
« on June 11th, 2018, 11:56 AM »
How to make a vcmp plugin. Not asking to give me whole code. Just need directions and needs to requirements and the language to use. Rest, I will do it.
Scripting and Server Management / Timer and delete timer
« on June 8th, 2018, 09:09 PM »
How to make timers in Client Side. NewTimer doesn't exist in Client Side.

How to delete a timer in both server side and client side.

Off-topic: Where did vitogta go?
Scripting and Server Management / Client Side | integer
« on May 22nd, 2018, 10:16 AM »
How to turn a value into integer in client side. tointeger() is not working.
Client Scripting / Split String in Client Side
« on May 22nd, 2018, 08:46 AM »
How to split text in client side. I am sending a string and I want to split it in client side. How to do that
Scripting and Server Management / Speed hack detection
« on May 3rd, 2018, 02:04 PM »
Well, the question is about speed hack. How to detect a speed hacker? If we take the player.Speed on OnPlayerMove funciton then what will be it bcz the speed changes of player by time to time. Need help
Scripting and Server Management / Update data after part
« on February 6th, 2018, 10:15 AM »
I have class in my script. I want that it should auto-update as soon as the player leaves game. Few things already update. Please update this code
Code: [Select]
QuerySQL(DB, "create table if not exists Accounts ( Name TEXT, LowerName TEXT, Password VARCHAR(255), Level NUMERIC DEFAULT 1, cash VARCHAR(255), Bank VARCHAR(255), TimeRegistered VARCHAR(255) DEFAULT CURRENT_TIMESTAMP, UID VARCHAR(255), IP VARCHAR(255), AutoLogin BOOLEAN DEFAULT true, Banned TEXT, clan VARCHAR ( 255 ), ctag VARCHAR ( 255), clevel VARCHAR(255) ) ");

Please update this
Code: [Select]
    format(@"UPDATE [Accounts] SET
        WHERE [Name]='%s' AND [LowerName]='%s';",
        status[ player.ID ].Level.tostring(),
        status[ player.ID ].UID.tostring(),
        status[ player.ID ].IP.tostring(),
        status[ player.ID ].Password.tostring(),
        status[ player.ID ].AutoLogin.tostring(),
The problem is that in my code, the error comes
Code: [Select]
Error Expression expected
the error comes in last line. How to find where to put that

Next, why my all timers without arguments started showing errors that the given timer call back does not exists?
Scripting and Server Management / Check the player's clan
« on January 4th, 2018, 03:37 PM »
I am making a clan system. When player join's game, if player is not in clan and wearing the clan tag, kick him. What will the function of it.
SLC's Squirrel Plugin / Sqmod . ini
« on December 29th, 2017, 01:34 PM »
SLC plugin is downloaded but what is sqmod.ini, I want to install the vietnam slide but cant.
General Discussion / Server hosting
« on December 29th, 2017, 07:41 AM »
I have decided to setup home hosting for server to work 24/7. The problem is that I never did it and dont know how to do. I want to know:
What hardware and software is required in the proccess?
How to setup the servers
Scripting and Server Management / Radar for specific team
« on December 28th, 2017, 11:21 AM »
I am making a minigame. There are two teams. Team 1 can only the radar of their partners and team 2 can only see their partners. How to make that?
Scripting and Server Management / ann no overload matching
« on December 27th, 2017, 04:37 PM »
The error is there is no overload matching this argument
Code: [Select]
function anncatct(plr)
local player = FindPlayer(plr);
if(player && player.Skin == 2) Announce("~b~Counter Terrorists", player, 8);
else return;
Scripting and Server Management / player key down
« on December 26th, 2017, 05:32 PM »
I made 3 keys
Code: [Select]
  space <- BindKey(true, 0x20, 0, 0);
  right <- BindKey(true, 0x27, 0, 0);
  left <- BindKey(true, 0x25, 0, 0);
as name shows space, left arrow and right arrow

now key down
Code: [Select]
function onKeyDown( player, key )
case space:
if(status[player.ID].minigame && !status[player.ID].minisp)
status[player.ID].minisp = true;

case right:
if(status[player.ID].minigame && !status[player.ID].minisp)
player.Skin = 100;
player.Color = RGB(255,0,0);
player.Pos = Vector(-825.04, 411.876, 11.1156);
player.Angle = 1.64654;
player.IsFrozen = true;
player.Immunity = 0;
player.SetAlpha(255, 1);
case left:
if(status[player.ID].minigame && !status[player.ID].minisp)
player.Pos = Vector(-825.04, 411.876, 11.1156);
player.Angle = 1.64654;
player.IsFrozen = true;
player.Skin = 2;
player.Color = RGB(0,0,255);
player.Immunity = 0;
player.SetAlpha(255, 1);

                default: break;
any of the following keys is not working
Scripting and Server Management / Random string and random number
« on December 25th, 2017, 11:28 AM »
How to make a function that makes a random string containing 4 to 9 characters.
another function to select a random number from 500 to 3000.