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.

Messages - kalee_khan
1
Support / Re: Internet Problems
« on November 28th, 2020, 04:00 PM »
Quote from habi on November 28th, 2020, 11:45 AM
There is a tool called Rakke's Broadband usage meter. I don't remember the name correctly. You can google it. It shows exact amount. It is for win 7.
yes,it is
"Broadband Usage Meter." I have been downloaded it.
2
Support / Re: Internet Problems
« on November 27th, 2020, 09:48 AM »
Quote from Xmair on November 26th, 2020, 04:05 PM
Set your connection type as metered to prevent some applications to consume data freely.
I did'nt understand your means exactly.can you tell me how to do that, i watched videos on youtube but they are on on win 10 and im using win 7
3
Support / Internet Problems
« on November 26th, 2020, 03:43 PM »
Sice I Started playing vcmp i didnt faced on how my internet usage is but some days ago I had 1gb data in my mobile,i thought why not play vcmp of that data as I started little (little whitey) then after some time 30/35 miutes i received a message that you data has been used.so i thoungt that time that how i was playing vcmp in my first days??? IDK how i subscribed offers of 300/-.and used.so the problem is that how can i reduce that data usage of vcmp???it takes too much data (in my pc).If you have solve.plz reply as soon as possible else i will be destroyd by losing money in love of vcmp ;D >:( :( :o 8) :-* :'(
4
Scripting and Server Management / Re: ChangeCol cmd Fix
« on November 23rd, 2020, 03:39 PM »
Quote from Sonmez on November 18th, 2020, 11:48 AM
Quote from kalee_khan on November 17th, 2020, 01:19 PM
Quote from Sonmez on November 16th, 2020, 02:48 PM
Quote from Inferno on November 16th, 2020, 02:16 PM
Quote from Sonmez on November 16th, 2020, 02:04 PM
You can use this.
Code: [Select]
if (cmd=="changecol")
{
    if( !text ){MessagePlayer("/changecol <Veh/ID> <Col1/ID> <Col2/ID>",player); return false;}
    if (!GetTok( text, " ", 1 )||!GetTok( text, " ", 2 )||!GetTok( text, " ", 3 )||GetTok( text, " ", 4 )){MessagePlayer("/changecol <Veh/ID> <Col1/ID> <Col2/ID>",player); return false;}
     if (!IsNum(GetTok( text, " ", 1 ))||!IsNum(GetTok( text, " ", 2 ))||!IsNum(GetTok( text, " ", 3 ))){MessagePlayer("/changecol <Veh/ID> <Col1/ID> <Col2/ID>",player); return false;}
    local vehicle = FindVehicle(GetTok( text, " ", 1 ).tointeger())
    if (!vehicle){MessagePlayer("[#95fcff]WARN >[#E0E0E0]Wrong Vehicle ID",player); return false;}
    local col1 = GetTok( text, " ", 2 ).tointeger();
    local col2 = GetTok( text, " ", 3 ).tointeger();
    QuerySQL( Vehicles,"UPDATE Creation SET Col1='"+col1+"' WHERE ID='"+vehicle.ID+"'");
    QuerySQL( Vehicles,"UPDATE Creation SET Col2='"+col2+"' WHERE ID='"+vehicle.ID+"'");
    Message("[#990000]#[#E0E0E0]SERVER[#990000]# [#E0E0E0]ADMIN ["+player.Name+"] changed the car color, ID: "+VehicleID+" Color-1: "+ColID1+" Color-2: "+ColID2);
}
It will still throw the same console error when cmd is typed as /cmd carID and not whole cmd.
And it wont show ingame syntax for half cmd.

Also you can use :

Code: [Select]
if(!IsNum(ColID1)) return MessagePlayer(" Colour ID must be integer ",player);
Instead of
Code: [Select]
if(!IsNum(ColID1)) {
MessagePlayer(" Write Integer ",player);
return false;
}
This line already solves the problem mentioned:
Code: [Select]
if (!IsNum(GetTok( text, " ", 1 ))||!IsNum(GetTok( text, " ", 2 ))||!IsNum(GetTok( text, " ", 3 ))){MessagePlayer("/changecol <Veh/ID> <Col1/ID> <Col2/ID>",player); return false;}
Im I oly need to add the "Return"?
Just try this:
Code: [Select]
if (cmd=="changecol")
{
    if( !text ){MessagePlayer("/changecol <Veh/ID> <Col1/ID> <Col2/ID>",player); return false;}
    if (!GetTok( text, " ", 1 )||!GetTok( text, " ", 2 )||!GetTok( text, " ", 3 )||GetTok( text, " ", 4 )){MessagePlayer("/changecol <Veh/ID> <Col1/ID> <Col2/ID>",player); return false;}
     if (!IsNum(GetTok( text, " ", 1 ))||!IsNum(GetTok( text, " ", 2 ))||!IsNum(GetTok( text, " ", 3 ))){MessagePlayer("/changecol <Veh/ID> <Col1/ID> <Col2/ID>",player); return false;}
    local vehicle = FindVehicle(GetTok( text, " ", 1 ).tointeger())
    if (!vehicle){MessagePlayer("[#95fcff]WARN >[#E0E0E0]Wrong Vehicle ID",player); return false;}
    local col1 = GetTok( text, " ", 2 ).tointeger();
    local col2 = GetTok( text, " ", 3 ).tointeger();
    QuerySQL( Vehicles,"UPDATE Creation SET Col1='"+col1+"' WHERE ID='"+vehicle.ID+"'");
    QuerySQL( Vehicles,"UPDATE Creation SET Col2='"+col2+"' WHERE ID='"+vehicle.ID+"'");
    Message("[#990000]#[#E0E0E0]SERVER[#990000]# [#E0E0E0]ADMIN ["+player.Name+"] changed the car color, ID: "+VehicleID+" Color-1: "+ColID1+" Color-2: "+ColID2);
}
An error has Occured the index GetTock Does'nt exist.
5
Scripting and Server Management / Add Vehicle not working
« on November 19th, 2020, 02:33 PM »
Hello, ;)
My Last Cmd was fixed but i have still a problem of a cmd "/addvehicle". :(
it works it add the vehickle to data base but when i shutdown the server and then start the vehicle is romoved.plz help :'(
6
Scripting and Server Management / Re: ChangeCol cmd Fix
« on November 17th, 2020, 01:19 PM »
Quote from Sonmez on November 16th, 2020, 02:48 PM
Quote from Inferno on November 16th, 2020, 02:16 PM
Quote from Sonmez on November 16th, 2020, 02:04 PM
You can use this.
Code: [Select]
if (cmd=="changecol")
{
    if( !text ){MessagePlayer("/changecol <Veh/ID> <Col1/ID> <Col2/ID>",player); return false;}
    if (!GetTok( text, " ", 1 )||!GetTok( text, " ", 2 )||!GetTok( text, " ", 3 )||GetTok( text, " ", 4 )){MessagePlayer("/changecol <Veh/ID> <Col1/ID> <Col2/ID>",player); return false;}
     if (!IsNum(GetTok( text, " ", 1 ))||!IsNum(GetTok( text, " ", 2 ))||!IsNum(GetTok( text, " ", 3 ))){MessagePlayer("/changecol <Veh/ID> <Col1/ID> <Col2/ID>",player); return false;}
    local vehicle = FindVehicle(GetTok( text, " ", 1 ).tointeger())
    if (!vehicle){MessagePlayer("[#95fcff]WARN >[#E0E0E0]Wrong Vehicle ID",player); return false;}
    local col1 = GetTok( text, " ", 2 ).tointeger();
    local col2 = GetTok( text, " ", 3 ).tointeger();
    QuerySQL( Vehicles,"UPDATE Creation SET Col1='"+col1+"' WHERE ID='"+vehicle.ID+"'");
    QuerySQL( Vehicles,"UPDATE Creation SET Col2='"+col2+"' WHERE ID='"+vehicle.ID+"'");
    Message("[#990000]#[#E0E0E0]SERVER[#990000]# [#E0E0E0]ADMIN ["+player.Name+"] changed the car color, ID: "+VehicleID+" Color-1: "+ColID1+" Color-2: "+ColID2);
}
It will still throw the same console error when cmd is typed as /cmd carID and not whole cmd.
And it wont show ingame syntax for half cmd.

Also you can use :

Code: [Select]
if(!IsNum(ColID1)) return MessagePlayer(" Colour ID must be integer ",player);
Instead of
Code: [Select]
if(!IsNum(ColID1)) {
MessagePlayer(" Write Integer ",player);
return false;
}
This line already solves the problem mentioned:
Code: [Select]
if (!IsNum(GetTok( text, " ", 1 ))||!IsNum(GetTok( text, " ", 2 ))||!IsNum(GetTok( text, " ", 3 ))){MessagePlayer("/changecol <Veh/ID> <Col1/ID> <Col2/ID>",player); return false;}
Im I oly need to add the "Return"?
7
Scripting and Server Management / Re: ChangeCol cmd Fix
« on November 14th, 2020, 01:55 PM »
Quote from MEGAMIND on November 5th, 2020, 02:28 PM
Code: [Select]
/changecol <car id> <col1> <col2>
Means
/changecol -> is a cmd
<car id> -> vehicle id
<col1> -> color 1
<col2> -> color 2

so it goes like this

Code: [Select]
/changecol 191 1 5
No,I my mean is that when i type the cmd like
Code: [Select]
/changecol
.and left the other text empty,it show the error message but if i type one text
Code: [Select]
(i mean /changecol 191 )
and left the third empty it dont show error message.help!
8
Scripting and Server Management / Re: GUI is not working ->Click Here<-
« on November 14th, 2020, 01:46 PM »
Quote from =TRC=Kelvin on November 5th, 2020, 06:09 PM
http://wiki.adtec.ovh/wiki/Scripting/Squirrel/Client_Functions#GUILabel

Code: [Select]
_label <- null;

function Script::ScriptLoad()
{
 local
 screenSize          = ::GUI.GetScreenSize(),
 label               = ::GUILabel( ::VectorScreen( ( screenSize.X * 0.005 ), ( screenSize.Y * 0.96 ) ), ::Colour( 255, 255, 255 ), format( "Hey, %s. Welcome to the server!", ::World.FindLocalPlayer().Name ) );
 label.FontName      = "Verdana";
 label.FontSize      = ( screenSize.X * 0.2 );
 label.FontFlags     = GUI_FFLAG_BOLD;
 label.TextAlignment = GUI_ALIGN_LEFT;

 ::_label = label;
}


which will display:
(click to show/hide)

if you want to delete the message, use:
Code: [Select]
::_label = null;
thanks its helpful
9
Scripting and Server Management / ChangeCol cmd Fix
« on November 5th, 2020, 02:06 PM »
When itry to type like like this "/changecol" then message occurrs from scripts "/changecol <car id> <col1> <col2>".but if i try like this "/changecol 132 \or any id else" then no respose come ,no message comes out like /changecol <id> <col> <col>
help plz


 if (cmd=="changecol")
{
if( !text ) MessagePlayer("[#E0E0E0]Code /"+cmd+" <Veh/ID> <Col1/ID> <Col2/ID>", player);
else if ( !player.IsSpawned ) MessagePlayer("[#E0E0E0]You must be spawn first", player );
else {
local TextSplit = split( text, " " ),VehicleID=TextSplit[ 0 ],ColID1=TextSplit[ 1 ],ColID2=TextSplit[ 2 ];
if ( !IsNum(VehicleID)) MessagePlayer("[#95fcff]WARN > [#E0E0E0]Code /"+cmd+" <Veh/ID> <Col1/ID> <Col2/ID>", player);
else if ( !IsNum(ColID1)) MessagePlayer("[#95fcff]WARN > [#E0E0E0]Code /"+cmd+" <Veh/ID> <Col1/ID> <Col2/ID>", player);
else if ( !IsNum(ColID2)) MessagePlayer("[#95fcff]WARN > [#E0E0E0]Code /"+cmd+" <Veh/ID> <Col1/ID> <Col2/ID>", player);
else if ( !FindVehicle(VehicleID.tointeger())) MessagePlayer("[#95fcff]WARN >[#E0E0E0]Wrong Vehicle ID",player);
else {
local v=FindVehicle(VehicleID.tointeger())
v.Colour1=ColID1.tointeger();
v.Colour2=ColID2.tointeger();
QuerySQL( Vehicles,"UPDATE Creation SET Col1='"+ColID1+"' WHERE ID='"+VehicleID+"'");
QuerySQL( Vehicles,"UPDATE Creation SET Col2='"+ColID2+"' WHERE ID='"+VehicleID+"'");
Message("[#990000]#[#E0E0E0]SERVER[#990000]# [#E0E0E0]ADMIN ["+player.Name+"] changed the car color, ID: "+VehicleID+" Color-1: "+ColID1+" Color-2: "+ColID2);
     }
     }
}
10
Scripting and Server Management / GUI is not working ->Click Here<-
« on November 5th, 2020, 01:55 PM »


I am trying to add my GUI but (!success) :-[.So plz help meby giving an example of GUI. I want when a player join server a welcome GUI message occures. ;D
11
Script and Content Requests / Re: Server Problem Fix it.
« on November 5th, 2020, 01:50 PM »
Quote from MEGAMIND on November 2nd, 2020, 08:53 AM
just get a host, an get your problems solved
Yes But I don't know  hosting websites's names.that host vcmp's server.
12
Script and Content Requests / Re: Server Problem Fix it.
« on November 1st, 2020, 07:29 AM »
Quote from Spiller on October 26th, 2020, 10:23 AM
Check if your ports are properly forwarded,
Use Thijn's Connection Checker to confirm.

(if you don't know your IP address, just Google, "my IP address")
An error occured: Server down.
13
Script and Content Requests / Re: Server Problem Fix it.
« on October 26th, 2020, 06:41 AM »
Quote
1- Open "Control Panel",
2- Set "View by: Large Icons",
3- Open "Windows Firewall",
4- Click "Allow an app or feature through Windows Firewall",
5- Click "Allow another app....."
6- Click "Browse"
7- Select "server64.exe or server32.exe" and add it,
8- Allow "Private and Public permissions for server.exe"

Restart server.exe and try again
'server64' is already in the list of exception.
14
Script and Content Requests / Server Problem Fix it.
« on October 24th, 2020, 03:21 PM »
Hello Everyone, ;D
I just want some help.
I port Forwaded my server butit Don't seem on Master List.So I Can Only add it to favourite.
And if it the problem of hosting plz help me and can you host it for free and if have your own website.
then can you host it.Plz help me.
15
Scripting and Server Management / Pick ups Problem.
« on May 15th, 2020, 10:41 AM »
I added a pickup but I need that when a player take the Pickup then if Player have enoght cash it give him a weapon
but how plz help me in thatt