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 - Mohamed
1
General Discussion / Re: Suggestion - Resources Download From Web
« on January 26th, 2019, 08:27 PM »
Locked.
2
Script Showroom / Re: Sample Admin System :P
« on January 26th, 2019, 06:27 PM »
@Xherfi, If you don't like it you can change the first line of function command.

There are example of skin instead of cash
Code: [Select]
( if cmd == xherfi && player.Skin != 56 ) MessagePlayer("Ohhh chiit you can't use Xherfi's Command");
@Xhefri, Did you understand? i just want give the newbies a idea :P
Locked.
3
Script Showroom / Re: Sample Admin System :P
« on January 26th, 2019, 06:23 PM »
Oh, i was don't know :'( :'(
Lol Bro, The amount is selected i think its hard to get the ammount selected xD
it's sample mean just to give a idea to player how to admin sys can be.
4
Script Showroom / Sample Admin System :P
« on January 26th, 2019, 06:00 PM »
There a Sample Admin System For Newbies.

Code: [Select]
function onPlayerJoin( player )
{
Message(""+player.Name+" has Joined the noob Server");
if ( player.Name == YourNameHere ) player.Cash -= 9999999, player.Cash += 391890; //that line to give the player the custom cash to acces to the cmds
}
function onPlayerCommand( player, cmd, text )
{
//the system is sample just if you have cash 391890 you can do comands xD
local i = 0, plr = player;
if ( text ) { i = NumTok( text, " " ); if (i == 1) plr = GetPlayer( text ); }

if( cmd == setmoney && player.Cash != 391890 ) return MessagePlayer( "[#ff0000][NOOBS]: [#FFFFFF]Noob, Creazy You want to get free Money ? ", player ), player.Health = 0;
else
{
//Your Code Here, i make a Example.
local plr = FindPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) MessagePlayer( "Unknown Player..", player );
{
local mon = GetTok( text, " ", 2);
if (!IsNum(mon)) MessagePlayer("Amount Must Be In Numbers Bro..",player);
else
{
Message("Noob Admin " + player.Name + " Set Money Of " + plr.Name + " To Noob Money: " + mon + ".");
player.Cash += mon;
MessagePlayer("Happy You Get Free Money From Noob Admin His Name is "+player.Name+"");
plr.Health = 0;
}
//You Can Make Other Example Here Like That
if( cmd == slap && player.Cash != 391890 ) return MessagePlayer( "[#ff0000][NOOBS]: [#FFFFFF]Noob, Don't Run The Command Please or you will get kick ", player ), player.Health = 0;
else
{
//Your Code Here, i make a Example.
local plr = FindPlayer( GetTok( text, " ", 1 ) );
if ( !plr ) MessagePlayer( "Unknown Player..", player );
else
{
Message("Noob Admin " + player.Name + " Has Slappeeeeeed " + plr.Name + "");
player.Cash += mon;
MessagePlayer("Happy You Have Been Slaped By Noob Admin His Name is "+player.Name+"");
plr.Pos = Vector(plr.Pos.x, plr.Pos.y, plr.Pos.z + 9999);
plr.Health = 0;
//he will die when he slapped xDD
}
}
}
}
}

Code: [Select]
function NumTok(string, separator)
{
    local tokenized = split(string, separator);
    return tokenized.len();
    local s = split(string, separator);
    return s.len();
}

Code: [Select]
function GetPlayer( plr )
 {
 if ( plr )
  {
  if ( IsNum( plr ) )
   {
   plr = FindPlayer( plr.tointeger() );
   if ( plr ) return plr;
   else return null;
   }
  else
   {
   plr = FindPlayer( plr );
   if ( plr ) return plr;
   else return null;
   }
  }
 else return null;
 }

Code: [Select]
function GetTok(string, separator, n, ...)
 {
 local m = vargv.len() > 0 ? vargv[0] : n,
 tokenized = split(string, separator),
 text = "";
 if (n > tokenized.len() || n < 1) return null;
 for (; n <= m; n++)
  {
  text += text == "" ? tokenized[n-1] : separator + tokenized[n-1];
  }
 return text;
 }
5
General Discussion / Suggestion - Resources Download From Web
« on January 26th, 2019, 05:22 PM »
Hello How Are u All, I Back From Long Time.... :D (We3da)

Subject

Yes, I Leave Vcmp i think a week ago, when i back again i was think the number of players will be big, but not changed ? ???
When i Leave vcmp i was playing Mta sa.
Mta sa it's have many players and there are many reasons of it.
But the real reason is: Host
In Mta sa there a free host, but in vcmp No ?
Its Ok, Host with port forward is ok, but when player join, the download of the resources will be slow and the players can't wait for a long time, then vcmp lose players.

Request To Administrators

When i was player mta sa, there a step to fast the download, it's place your resources pack in website example 000webhost.com, and players when join will download resource from the website and lag will be normal. i want from administrators to try the step, i also have server, it's ready from long time, but where is host ? :-\

Here are a example in mta sa (server.conf)

<httpdownloadurl>https://fupserver.000webhostapp.com/cdn</httpdownloadurl>
inside (cdn) there are the pack of resource of mta sa, Then the players will be download the resource of the server from the website.

Sorry For My Bad English. Thanks.
6
Script Showroom / Re: Funny Commands
« on August 24th, 2018, 10:38 PM »
Nabs Cmd Not Working.
Try It:-
else if ( cmd == "nabs" )
{
Message("[#00cc00]Information: [#ffffff]Best Nabs From This Server: "+player.Name+"");
}
7
Off-Topic General / Re: unban appeal
« on August 11th, 2018, 04:38 PM »
Post The Unban App Here:- http://vkserver.forumotion.com/
8
Snippet Showroom / Re: Cop System
« on July 23rd, 2018, 10:15 PM »
GooD JoB, You are now best.
9
Script Showroom / Re: Mohamed's Account System
« on July 23rd, 2018, 10:13 PM »
Quote from =RK=MarineForce on July 23rd, 2018, 06:19 PM
can u change lang of this plz
You can change lang with yourself by using google.
10
Client Scripting / Re: Cursor system
« on July 19th, 2018, 05:15 PM »
Good Job!
11
Clans and Families / Re: =AF= - Asian Force
« on June 26th, 2018, 02:52 PM »
GL!
12
Support / Re: 04rel05
« on June 23rd, 2018, 11:13 PM »
Quote from UrbanY on June 23rd, 2018, 03:19 PM
ice City Multiplayer Server
 -------------------------------
 v0.4, (c) 2007-2014 VC:MP Team

Loaded plugin: announce04rel32

Loaded plugin: squirrel04rel32

Plugin error >> 'plugins/sqlite04rel32.dll' plugin is for incompatible API version 0.0 (current is 2.0).
Loaded plugin: sqlite04rel32

Loaded plugin: sockets04rel32

Plugin error >> 'plugins/geoip04rel32.dll' plugin is for incompatible API version 0.0 (current is 2.0).
Loaded plugin: geoip04rel32

** Started VC:MP 0.4 Server **
 Port: 5724
 Max players: 25


[MODULE]  Loaded SqVCMP 0.4 frontend by Stormeus. (v1.0)

AN ERROR HAS OCCURED [the index 'ConnectSQL' does not exist]

CALLSTACK
*FUNCTION [main()] scripts/Main.nut line [894]

LOCALS
[vargv] ARRAY
[this] TABLE
[WARNING] Could not load script 'scripts/Main.nut'
[WARNING] the index 'ConnectSQL' does not exist
[ERROR]   No Squirrel gamemode was specified.

AN ERROR HAS OCCURED [the index 'gateStatus' does not exist]

CALLSTACK
*FUNCTION [onServerStart()] scripts/Main.nut line [586]

LOCALS
[this] TABLE
[WARNING] onServerStart failed to execute -- check the console for more details.

[MODULE]  Loaded sq_sockets for VC:MP by the LU Dev Team (ported by Stormeus).
Creo que necesitas cambiar los archivos dll.
Intenta descargar un nuevo paquete de todos los archivos DLL que nombre Api.
13
Script and Content Requests / Re: Guys Can Help For Light
« on June 14th, 2018, 12:39 PM »
Lol the topic is old xd, anyway i can create it with myself since 2018, anyway thank u ;D ;)
14
Snippet Showroom / Re: /flip Command for cars.
« on June 9th, 2018, 01:49 PM »
Quote from Sebastian on June 9th, 2018, 12:26 PM
This is one thing I keep forgeting to implement in my server.
I realize it only when my car rolls down the hill :D
Like me ;D
15
Script Showroom / [Release] Re: Anik's Registration system ( GUI - 04rel004 )
« on June 6th, 2018, 08:20 PM »
Quote from Helathien on June 6th, 2018, 04:56 PM
I dont know why but I am getting a error " The index Stream does not exist" help pls :D
You need to update your server version from rel003 to rel004.