Quote from: Eva on Jun 05, 2020, 08:39 AMim not sure what you are asking but shouldnt it be with ; ?What should I do is not cause harm?
function onScriptLoad()
{
SetWeaponDataValue( 14, 6, 0 );
}
and here the sound id'ssoundid's
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 MenuQuote from: Eva on Jun 05, 2020, 08:39 AMim not sure what you are asking but shouldnt it be with ; ?What should I do is not cause harm?
function onScriptLoad()
{
SetWeaponDataValue( 14, 6, 0 );
}
and here the sound id'ssoundid's
Quote from: umar4911 on Apr 27, 2020, 04:17 PMI thought I was the only one with those maps saved
Server Name : .::[Counter - Striker 1.6]::.
Server IP : 49.12.15.63:9998
Game Mode : Style CS 1.6
Creator : Luis_Labarca
* Rounds system
* CS style chat system
* CS-style kill system
* Planting and deactivating pump system
* Hostage Rescue System
function onScriptLoad()
{
KeyOpenWheelWeapons<- BindKey(true,0x45,0,0);
HUD <- array( GetMaxPlayers(), false );
HUDSLOT1 <- array( GetMaxPlayers(), "" );
HUDSLOT2 <- array( GetMaxPlayers(), "" );
HUDSLOT3 <- array( GetMaxPlayers(), "" );
HUDSLOT4 <- array( GetMaxPlayers(), "" );
HUDSLOT5 <- array( GetMaxPlayers(), "" );
HUDSLOT6 <- array( GetMaxPlayers(), "" );
HUDSLOT7 <- array( GetMaxPlayers(), "" );
HUDSLOT8 <- array( GetMaxPlayers(), "" );
}
function onPlayerSpawn( player )
{
player.SetWeapon(5,100)
player.SetWeapon(17,500)
player.SetWeapon(15,500)
player.SetWeapon(19,500)
player.SetWeapon(22,500)
player.SetWeapon(26,500)
player.SetWeapon(29,500)
player.SetWeapon(30,500)
}
function onKeyDown( player, key )
{
if ( key == KeyOpenWheelWeapons && HUD[ player.ID ] == false)
{
HUD[ player.ID ] = true;
local Wep="";
for(local slot = 0; slot != 12; slot++)
{
local w_id = player.GetWeaponAtSlot(slot),w_ammo=player.GetAmmoAtSlot(slot),w_name=GetWeaponName(w_id);
if(w_id != 0 && w_ammo != 0)
{
Wep +=" "+w_id+" "+w_ammo;
}
}
HUDSLOT1[player.ID] = GetTok( Wep, " ", 1 )+" "+GetTok( Wep, " ", 2 );
HUDSLOT2[player.ID] = GetTok( Wep, " ", 3 )+" "+GetTok( Wep, " ", 4 );
HUDSLOT3[player.ID] = GetTok( Wep, " ", 5 )+" "+GetTok( Wep, " ", 6 );
HUDSLOT4[player.ID] = GetTok( Wep, " ", 7 )+" "+GetTok( Wep, " ", 8 );
HUDSLOT5[player.ID] = GetTok( Wep, " ", 9 )+" "+GetTok( Wep, " ", 10 );
HUDSLOT6[player.ID] = GetTok( Wep, " ", 11 )+" "+GetTok( Wep, " ", 12 );
HUDSLOT7[player.ID] = GetTok( Wep, " ", 13 )+" "+GetTok( Wep, " ", 14 );
HUDSLOT8[player.ID] = GetTok( Wep, " ", 15 )+" "+GetTok( Wep, " ", 16 );
Stream.StartWrite()
Stream.WriteString("OpenMenuWheel"+Wep)
Stream.SendStream(player)
}
}
function onClientScriptData(player)
{
local ReadString = Stream.ReadString();
local ReadInt = Stream.ReadInt();
if(ReadString == "HudOff")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
}
if(ReadString == "SelectSlot1")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT1[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT1[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot2")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT2[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT2[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot3")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT3[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT3[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot4")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT4[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT4[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot5")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT5[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT5[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot6")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT6[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT6[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot7")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT7[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT7[player.ID], " ", 2 ).tointeger())
}
if(ReadString == "SelectSlot8")
{
Stream.StartWrite()
Stream.WriteString("CloseMenuWheel")
Stream.SendStream(player)
HUD[ player.ID ] = false;
player.SetWeapon(GetTok( HUDSLOT8[player.ID], " ", 1 ).tointeger(),GetTok( HUDSLOT8[player.ID], " ", 2 ).tointeger())
}
}
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;
}
[/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae]//Add from Client - Side
ScreenX <- GUI.GetScreenSize().X;
ScreenY <- GUI.GetScreenSize().Y;
ScreenSize <- ScreenY / 40;
///=== VARIABLES
WheelWeapons <- {
ButtonActivated1 = false,
ButtonActivated2 = false,
ButtonActivated3 = false,
ButtonActivated4 = false,
ButtonActivated5 = false,
ButtonActivated6 = false,
ButtonActivated7 = false,
ButtonActivated8 = false,
ButtonActivated9 = false,
ButtonActivated10 = false,
//-----
Circle = null,
Wep1 = null,
Wep2 = null,
Wep3 = null,
Wep4 = null,
Wep5 = null,
Wep6 = null,
Wep7 = null,
Wep8 = null,
//-----
Button1 = null,
Button2 = null,
Button3 = null,
Button4 = null,
Button5 = null,
Button6 = null,
Button7 = null,
Button8 = null,
//-----
Text1 = null,
Text2 = null,
Text3 = null,
Text4 = null,
Text5 = null,
Text6 = null,
Text7 = null,
Text8 = null,
//-----
OptionButton1 = null,
OptionButton2 = null,
OptionButton3 = null,
OptionButton4 = null,
OptionButton5 = null,
OptionButton6 = null,
OptionButton7 = null,
OptionButton8 = null,
HudOff = null
}
///===================================
function Script::ScriptProcess()
{
::ScreenX = GUI.GetScreenSize().X;
::ScreenY = GUI.GetScreenSize().Y;
if( ::WheelWeapons.Circle )
{
::WheelWeapons.Circle.Position = ::VectorScreen(( ScreenX * 0.30 ) - ( ScreenY / ScreenSize), ScreenY * 0.20)
}
}
function GUI::ElementClick(element, mouseX, mouseY)
{
if(element==::WheelWeapons.Wep1)
{
local Datos = Stream();
Datos.WriteString("SelectSlot1");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep2)
{
local Datos = Stream();
Datos.WriteString("SelectSlot2");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep3)
{
local Datos = Stream();
Datos.WriteString("SelectSlot3");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep4)
{
local Datos = Stream();
Datos.WriteString("SelectSlot4");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep5)
{
local Datos = Stream();
Datos.WriteString("SelectSlot5");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep6)
{
local Datos = Stream();
Datos.WriteString("SelectSlot6");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep7)
{
local Datos = Stream();
Datos.WriteString("SelectSlot7");
Server.SendData(Datos);
}
if(element==::WheelWeapons.Wep8)
{
local Datos = Stream();
Datos.WriteString("SelectSlot8");
Server.SendData(Datos);
}
if(element==::WheelWeapons.HudOff)
{
local Datos = Stream();
Datos.WriteString("HudOff");
Server.SendData(Datos);
}
}
function Server::ServerData(stream)
{
local ReadString = stream.ReadString(),ReadInt = stream.ReadInt(),ReadFloat=stream.ReadFloat();
if(GetTok( ReadString, " ", 1 ) == "OpenMenuWheel")
{
local Slot1 = null,Ammo1 = 0,Slot2 = null,Ammo2 = 0,Slot3 = null,Ammo3 = 0,Slot4 = null,Ammo4 = 0,Slot5 = null,Ammo5 = 0,Slot6 = null,Ammo6 = 0,Slot7 = null,Ammo7 = 0,Slot8 = null,Ammo8 = 0;
Slot1=GetTok( ReadString, " ", 2 );
Ammo1=GetTok( ReadString, " ", 3 );
Slot2=GetTok( ReadString, " ", 4 );
Ammo2=GetTok( ReadString, " ", 5 );
Slot3=GetTok( ReadString, " ", 6 );
Ammo3=GetTok( ReadString, " ", 7 );
Slot4=GetTok( ReadString, " ", 8 );
Ammo4=GetTok( ReadString, " ", 9 );
Slot5=GetTok( ReadString, " ", 10 );
Ammo5=GetTok( ReadString, " ", 11 );
Slot6=GetTok( ReadString, " ", 12 );
Ammo6=GetTok( ReadString, " ", 13 );
Slot7=GetTok( ReadString, " ", 14 );
Ammo7=GetTok( ReadString, " ", 15 );
Slot8=GetTok( ReadString, " ", 16 );
Ammo8=GetTok( ReadString, " ", 17 );
::GUI.SetMouseEnabled(true);
::WheelWeapons.Circle <- GUISprite("Wheel.png", VectorScreen(0, 0));
::WheelWeapons.Circle.Size = VectorScreen(400, 300);
::WheelWeapons.Circle.AddFlags(GUI_FLAG_MOUSECTRL);
::WheelWeapons.Circle.Alpha=150;
::WheelWeapons.HudOff <- GUIButton(VectorScreen(120,270), VectorScreen(140, 22), Colour(20, 20, 20), "Cerrar", GUI_FLAG_BORDER | GUI_FLAG_VISIBLE);
::WheelWeapons.HudOff.TextColour = Colour(255, 255, 255);
::WheelWeapons.HudOff.FontName = Colour(75,75,75);
::WheelWeapons.HudOff.FontSize = 11;
::WheelWeapons.HudOff.Alpha = 150;
::WheelWeapons.Circle.AddChild(WheelWeapons.HudOff);
if(Slot1 != null)
{
::WheelWeapons.Wep1 <- GUISprite("Wep"+Slot1+".png", VectorScreen(110, 55));
::WheelWeapons.Wep1.Size = VectorScreen(80, 38);
::WheelWeapons.Wep1.AddFlags(GUI_FLAG_MOUSECTRL);
::WheelWeapons.Wep1.Alpha=150;
::WheelWeapons.OptionButton1 = Slot1;
::WheelWeapons.Circle.AddChild(WheelWeapons.Wep1);
}
if(Slot2 != null)
{
::WheelWeapons.Wep2 <- GUISprite("Wep"+Slot2+".png", VectorScreen(180, 55));
::WheelWeapons.Wep2.Size = VectorScreen(80, 38);
::WheelWeapons.Wep2.AddFlags(GUI_FLAG_MOUSECTRL);
::WheelWeapons.Wep2.Alpha=150;
::WheelWeapons.OptionButton2 = Slot2;
::WheelWeapons.Circle.AddChild(WheelWeapons.Wep2);
}
if(Slot3 != null)
{
::WheelWeapons.Wep3 <- GUISprite("Wep"+Slot3+".png", VectorScreen(250, 110));
::WheelWeapons.Wep3.Size = VectorScreen(80, 38);
::WheelWeapons.Wep3.AddFlags(GUI_FLAG_MOUSECTRL);
::WheelWeapons.Wep3.Alpha=150;
::WheelWeapons.OptionButton3 = Slot3;
::WheelWeapons.Circle.AddChild(WheelWeapons.Wep3);
}
if(Slot4 != null)
{
::WheelWeapons.Wep4 <- GUISprite("Wep"+Slot4+".png", VectorScreen(250, 170));
::WheelWeapons.Wep4.Size = VectorScreen(80, 38);
::WheelWeapons.Wep4.AddFlags(GUI_FLAG_MOUSECTRL);
::WheelWeapons.Wep4.Alpha=150;
::WheelWeapons.OptionButton4 = Slot4;
::WheelWeapons.Circle.AddChild(WheelWeapons.Wep4);
}
if(Slot5 != null)
{
::WheelWeapons.Wep5 <- GUISprite("Wep"+Slot5+".png", VectorScreen(190, 215));
::WheelWeapons.Wep5.Size = VectorScreen(80, 38);
::WheelWeapons.Wep5.AddFlags(GUI_FLAG_MOUSECTRL);
::WheelWeapons.Wep5.Alpha=150;
::WheelWeapons.OptionButton5 = Slot5;
::WheelWeapons.Circle.AddChild(WheelWeapons.Wep5);
}
if(Slot6 != null)
{
::WheelWeapons.Wep6 <- GUISprite("Wep"+Slot6+".png", VectorScreen(110, 215));
::WheelWeapons.Wep6.Size = VectorScreen(80, 38);
::WheelWeapons.Wep6.AddFlags(GUI_FLAG_MOUSECTRL);
::WheelWeapons.Wep6.Alpha=150;
::WheelWeapons.OptionButton6 = Slot6;
::WheelWeapons.Circle.AddChild(WheelWeapons.Wep6);
}
if(Slot7 != null)
{
::WheelWeapons.Wep7 <- GUISprite("Wep"+Slot7+".png", VectorScreen(55, 170));
::WheelWeapons.Wep7.Size = VectorScreen(80, 38);
::WheelWeapons.Wep7.AddFlags(GUI_FLAG_MOUSECTRL);
::WheelWeapons.Wep7.Alpha=150;
::WheelWeapons.OptionButton7 = Slot7;
::WheelWeapons.Circle.AddChild(WheelWeapons.Wep7);
}
if(Slot8 != null)
{
::WheelWeapons.Wep8 <- GUISprite("Wep"+Slot8+".png", VectorScreen(55, 110));
::WheelWeapons.Wep8.Size = VectorScreen(80, 38);
::WheelWeapons.Wep8.AddFlags(GUI_FLAG_MOUSECTRL);
::WheelWeapons.Wep8.Alpha=150;
::WheelWeapons.OptionButton8 = Slot8;
::WheelWeapons.Circle.AddChild(WheelWeapons.Wep8);
}
}
if(ReadString=="CloseMenuWheel")
{
::GUI.SetMouseEnabled(false);
::WheelWeapons.ButtonActivated1 = false;
::WheelWeapons.ButtonActivated2 = false;
::WheelWeapons.ButtonActivated3 = false;
::WheelWeapons.ButtonActivated4 = false;
::WheelWeapons.ButtonActivated5 = false;
::WheelWeapons.ButtonActivated6 = false;
::WheelWeapons.ButtonActivated7 = false;
::WheelWeapons.ButtonActivated8 = false;
::WheelWeapons.ButtonActivated9 = false;
::WheelWeapons.ButtonActivated10 = false;
//-----
::WheelWeapons.Circle = null;
::WheelWeapons.Wep1 = null;
::WheelWeapons.Wep2 = null;
::WheelWeapons.Wep3 = null;
::WheelWeapons.Wep4 = null;
::WheelWeapons.Wep5 = null;
::WheelWeapons.Wep6 = null;
::WheelWeapons.Wep7 = null;
::WheelWeapons.Wep8 = null;
//-----
::WheelWeapons.Button1 = null;
::WheelWeapons.Button2 = null;
::WheelWeapons.Button3 = null;
::WheelWeapons.Button4 = null;
::WheelWeapons.Button5 = null;
::WheelWeapons.Button6 = null;
::WheelWeapons.Button7 = null;
::WheelWeapons.Button8 = null;
//-----
::WheelWeapons.Text1 = null;
::WheelWeapons.Text2 = null;
::WheelWeapons.Text3 = null;
::WheelWeapons.Text4 = null;
::WheelWeapons.Text5 = null;
::WheelWeapons.Text6 = null;
::WheelWeapons.Text7 = null;
::WheelWeapons.Text8 = null;
//-----
::WheelWeapons.OptionButton1 = null;
::WheelWeapons.OptionButton2 = null;
::WheelWeapons.OptionButton3 = null;
::WheelWeapons.OptionButton4 = null;
::WheelWeapons.OptionButton5 = null;
::WheelWeapons.OptionButton6 = null;
::WheelWeapons.OptionButton7 = null;
::WheelWeapons.OptionButton8 = null;
::WheelWeapons.HudOff = null;
}
}
function GUI::ElementHoverOver(element)
{
if(element == WheelWeapons.Wep1 && WheelWeapons.OptionButton1 != null )
{
::WheelWeapons.Button1 <- GUISprite("Button1.png", VectorScreen(0, 0));
::WheelWeapons.Button1.Size = VectorScreen(400, 300);
::WheelWeapons.Button1.AddFlags(GUI_FLAG_BACKGROUND);
::WheelWeapons.Button1.Alpha=150;
::WheelWeapons.ButtonActivated1 = true
if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button1);
}
if(element == WheelWeapons.Wep2 && WheelWeapons.OptionButton2 != null)
{
::WheelWeapons.Button2 <- GUISprite("Button2.png", VectorScreen(0, 0));
::WheelWeapons.Button2.Size = VectorScreen(400, 300);
::WheelWeapons.Button2.AddFlags(GUI_FLAG_BACKGROUND);
::WheelWeapons.Button2.Alpha=150;
::WheelWeapons.ButtonActivated2 = true
if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button2);
}
if(element == WheelWeapons.Wep3 && WheelWeapons.OptionButton3 != null)
{
::WheelWeapons.Button3 <- GUISprite("Button3.png", VectorScreen(0, 0));
::WheelWeapons.Button3.Size = VectorScreen(400, 300);
::WheelWeapons.Button3.AddFlags(GUI_FLAG_BACKGROUND);
::WheelWeapons.Button3.Alpha=150;
::WheelWeapons.ButtonActivated3 = true
if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button3);
}
if(element == WheelWeapons.Wep4 && WheelWeapons.OptionButton4 != null)
{
::WheelWeapons.Button4 <- GUISprite("Button4.png", VectorScreen(0, 0));
::WheelWeapons.Button4.Size = VectorScreen(400, 300);
::WheelWeapons.Button4.AddFlags(GUI_FLAG_BACKGROUND);
::WheelWeapons.Button4.Alpha=150;
::WheelWeapons.ButtonActivated4 = true
if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button4);
}
if(element == WheelWeapons.Wep5 && WheelWeapons.OptionButton5 != null)
{
::WheelWeapons.Button5 <- GUISprite("Button5.png", VectorScreen(0, 0));
::WheelWeapons.Button5.Size = VectorScreen(400, 300);
::WheelWeapons.Button5.AddFlags(GUI_FLAG_BACKGROUND);
::WheelWeapons.Button5.Alpha=150;
::WheelWeapons.ButtonActivated5 = true
if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button5);
}
if(element == WheelWeapons.Wep6 && WheelWeapons.OptionButton6 != null)
{
::WheelWeapons.Button6 <- GUISprite("Button6.png", VectorScreen(0, 0));
::WheelWeapons.Button6.Size = VectorScreen(400, 300);
::WheelWeapons.Button6.AddFlags(GUI_FLAG_BACKGROUND);
::WheelWeapons.Button6.Alpha=150;
::WheelWeapons.ButtonActivated6 = true
if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button6);
}
if(element == WheelWeapons.Wep7 && WheelWeapons.OptionButton7 != null)
{
::WheelWeapons.Button7 <- GUISprite("Button7.png", VectorScreen(0, 0));
::WheelWeapons.Button7.Size = VectorScreen(400, 300);
::WheelWeapons.Button7.AddFlags(GUI_FLAG_BACKGROUND);
::WheelWeapons.Button7.Alpha=150;
::WheelWeapons.ButtonActivated7 = true
if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button7);
}
if(element == WheelWeapons.Wep8 && WheelWeapons.OptionButton8 != null)
{
::WheelWeapons.Button8 <- GUISprite("Button8.png", VectorScreen(0, 0));
::WheelWeapons.Button8.Size = VectorScreen(400, 300);
::WheelWeapons.Button8.AddFlags(GUI_FLAG_BACKGROUND);
::WheelWeapons.Button8.Alpha=150;
::WheelWeapons.ButtonActivated8 = true
if(::WheelWeapons.Circle != null)::WheelWeapons.Circle.AddChild(WheelWeapons.Button8);
}
}
function GUI::ElementHoverOut(element)
{
if(element == WheelWeapons.Wep1 && WheelWeapons.ButtonActivated1 == true )
{
::WheelWeapons.ButtonActivated1 = false
::WheelWeapons.Button1 <- null;
}
if(element == WheelWeapons.Wep2 && WheelWeapons.ButtonActivated2 == true )
{
::WheelWeapons.ButtonActivated2 = false
::WheelWeapons.Button2 <- null;
}
if(element == WheelWeapons.Wep3 && WheelWeapons.ButtonActivated3 == true )
{
::WheelWeapons.ButtonActivated3 = false
::WheelWeapons.Button3 <- null;
}
if(element == WheelWeapons.Wep4 && WheelWeapons.ButtonActivated4 == true )
{
::WheelWeapons.ButtonActivated4 = false
::WheelWeapons.Button4 <- null;
}
if(element == WheelWeapons.Wep5 && WheelWeapons.ButtonActivated5 == true )
{
::WheelWeapons.ButtonActivated5 = false
::WheelWeapons.Button5 <- null;
}
if(element == WheelWeapons.Wep6 && WheelWeapons.ButtonActivated6 == true )
{
::WheelWeapons.ButtonActivated6 = false
::WheelWeapons.Button6 <- null;
}
if(element == WheelWeapons.Wep7 && WheelWeapons.ButtonActivated7 == true )
{
::WheelWeapons.ButtonActivated7 = false
::WheelWeapons.Button7 <- null;
}
if(element == WheelWeapons.Wep8 && WheelWeapons.ButtonActivated8 == true )
{
::WheelWeapons.ButtonActivated8 = false
::WheelWeapons.Button8 <- null;
}
}
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;
}
[/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae][/noae]Quote from: umar4911 on Nov 03, 2019, 05:33 AMPictures not loadingclick in pictures loading
Quote from: Arksun2 on Aug 27, 2019, 05:29 AMThese maps are literally stolen from my old CS server, you didnt even bother giving credits. My server will also back soon, so better stay away.Original Maps Mods
Otherwise, you will see.
Quote from: Sebastian on Aug 27, 2019, 08:09 AMlol nicehehehe well if you wish you could help me
Only if somebody could add some proper lighting to those maps...
Quote from: Arksun2 on Aug 27, 2019, 05:29 AMThese maps are literally stolen from my old CS server, you didnt even bother giving credits. My server will also back soon, so better stay away.
Otherwise, you will see.
Unique systems
Ground Weapons System
Random Map System
Voting map selection system
Hostage map system and c4
Menu system styles cs 1.6
Planting system, deactivate c4 style cs 1.6
1.6 cs hud system
Weapons and weapons collection system
Rounds System
Cs 1.6 style chat system
Cs 1.6 Style Death and Murder Message System
System to buy equipment style cs 1.6
System of name and health of a player in 3D Text
C4 map and hostage system
When you lower your health, the red screen effect will be activated
When you raise your health, the green screen effect will be activated
and much more.........
Quote from: Mack on Aug 22, 2019, 06:18 AMfunction onPlayerHealthChange( player, lastHP, newHP )
{
if ( lastHP > newHP ) MessagePlayer( "You just lost " + ( lastHP - newHP ) + " health.", player );
}
https://wiki.vc-mp.org/wiki/OnPlayerHealthChange