
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.

1
Script Showroom / Bank sys. (With Teammate)
« on February 1st, 03:57 PM »
Before PlayerCLass
Code: [Select]
on Player Class
Code: [Select]
on Script Load
Code: [Select]
on Player Pickup
Code: [Select]
functions
Code: [Select]
on Player Command
Code: [Select]
on Time Change
Code: [Select]
on Time Change
Code: [Select]
on Player Join
Code: [Select]
const rpmsg = "[#FCFB92]";
on Player Class
TeamupFrom = null;
TeamupReq = 0;
Team1 = "None";
Team2 = "None";
InTeam = false;
CanBuy = false;
CanUse = false;
Bomb = false;
on Script Load
pkc <- CreatePickup( 410, 1, 0, Vector(-948.597, -344.569, 7.22694), 255, true ); //bankRobpIckuP
ct <- CreateObject( 4578, 1, -945.596, -342.627, 7.58308, 255 )
BankRob <- 300;
BankBeingRobbed <- false;
BankRobbed <- false;
BankTime <- 0;
bankin <- CreateCheckpoint(null, 0, true, Vector(-937.568, -351.482, 17.8038), ARGB(255,255,255,255),2)// banklocker entrance.
bankout <- CreateCheckpoint(null, 0, true, Vector(-939.012, -351.882, 7.22692), ARGB(255,255,255,255),2)// banklocker exit.
bankb <- CreateCheckpoint(null, 0, true, Vector(-666.965, 1209.25, 11.1073), ARGB(255,255,16,0),1)// bank bomb.
on Player Pickup
if( pickup.Model == 410 )
{
if(stats[player.ID].InTeam == false) ER2("You must be in team with someone to rob bank.",player);
else if (BankBeingRobbed == true) return false;
else if(BankRob > 0) MessagePlayer(""+rpmsg+"-> The bank can be robbed after [#ffffff]"+BankRob+""+rpmsg+" seconds.",player);
else {
local plr = FindPlayer(stats[player.ID].Team2);
if ( Distance( player.Pos.x, player.Pos.y , plr.Pos.x, plr.Pos.y ) > 3 ) ER2("Your team mate must be near to you.", player );
else if(BankRob == 0 && stats[player.ID].InTeam == true)
{
BankBeingRobbed = true;
BankTime = 10;
NewTimer("BankRobbery",1000,11,player.ID, plr.ID);
}
}
}
functions
function BankRobbery(player, plr)
{
local player = FindPlayer(player);
local plr = FindPlayer(plr);
{
if(BankTime > 0){
BankTime--;
player.PlaySound(370);
plr.PlaySound(370);
player.IsFrozen = true;
player.IsFrozen = true;
}
else {
local cashh = Random(60000,70000);
local cashhh = Random(60000,70000);
Message(""+rpmsg+"-> [#" + format("%02X%02X%02X", player.Color.r, player.Color.g, player.Color.b) + "]"+ player.Name +" "+rpmsg+"has robbed "+casha+"$"+cashh+""+rpmsg+" from [#ffffff]International Bank.");
Message(""+rpmsg+"-> [#" + format("%02X%02X%02X", plr.Color.r, plr.Color.g, plr.Color.b) + "]"+ plr.Name +" "+rpmsg+"has robbed "+casha+"$"+cashhh+""+rpmsg+" from [#ffffff]International Bank.");
IncCash(player, cashh);
IncCash(plr, cashhh);
stats[player.ID].WantedLevel+=5;
stats[plr.ID].WantedLevel+=5;
player.WantedLevel+=5;
plr.WantedLevel+=5;
BankRobbed = true;
BankBeingRobbed = false;
BankRob = 300;
player.PlaySound(470);
plr.PlaySound(470);
player.IsFrozen = false;
player.IsFrozen = false;
}
}
}
function YourDetail(player)
{
local player = FindPlayer(player);
{
if (player && BankBeingRobbed == false && player.Team == 1 && stats[player.ID].InTeam == true && stats[player.ID].InJail == 0 && stats[ player.ID ].Robbing == false && stats[player.ID].Smuggler == false)
{
local plr = FindPlayer(stats[player.ID].Team2);
Announce("Teammate: ~g~"+plr.Name+" ~h~| Distance: ~g~"+Distance( player.Pos.x, player.Pos.y , plr.Pos.x, plr.Pos.y )+"",player,1);
}
else if (player && BankBeingRobbed == true && player.Team == 1 && stats[player.ID].InJail == 0 && stats[ player.ID ].Robbing == false && stats[player.ID].Smuggler == false)
{
local plr = FindPlayer(stats[player.ID].Team2);
Announce("Robbing Bank: ~g~"+BankTime+"",player,1);
Announce("Robbing Bank: ~g~"+BankTime+"",plr,1);
}
}
}
on Player Command
else if(cmd == "buybomb")
{
if(stats[player.ID].CanBuy == false) ER2("You must be at ammunation to use this command.",player);
else if(stats[player.ID].Bomb == true) ER2("You already have bomb.",player);
else if(stats[player.ID].InTeam == false) ER2("You must be in team with someone to use this command.",player);
else if (!text && player.Cash < 8000) ER2(""+rpmsg+"You must have "+casha+"$8000 "+rpmsg+"to buy this bomb.",player);
else {
stats[player.ID].Bomb = true;
MessagePlayer(""+rpmsg+"-> You have bought a bomb.",player);
}
return 0;
}
else if(cmd == "usebomb")
{
if(stats[player.ID].Bomb == false) ER2("You don't have bomb.",player);
else if(stats[player.ID].InTeam == false) ER2("You must be in team with someone to use this command.",player);
if(stats[player.ID].CanUse == false) ER2("You must be inside the banklocker to use this command.",player);
else {
stats[player.ID].Bomb = false;
MessagePlayer(""+rpmsg+"-> You have used the bomb.",player);
MessagePlayer("[#ffffff]-> It will [#ff0000]explode [#ffffff]in next 5 seconds.",player);
NewTimer( "Door", 20000, 1 );
NewTimer( "DoorExplode", 5000, 1, player.ID );
cta <- CreateObject( 380, 1, Vector( -945.589, -343.758, 7.46694), 255 );
}
return 0;
}
else if(cmd == "bankrob")
{
if(BankRob == 0) MessagePlayer(""+rpmsg+"-> The bank can be [#ff0000]robbed "+rpmsg+"now",player);
else {
MessagePlayer(""+rpmsg+"-> The bank can be robbed after [#ffffff]"+BankRob+""+rpmsg+" seconds.",player);
}
return 0;
}
on Time Change
if(BankRob > 0){
BankRob--;
}
on Time Change
if(BankRob > 0){
BankRob--;
}
on Player Join
NewTimer("YourDetail", 1000, 0, player.ID);
2
Skin Showroom / Brock Lesnar & Undertaker Skin
« on July 27th, 2021, 02:27 PM »
Content Type: Skin
Original Author: MR SK.
Source Link: https://www.gtainside.com/en/vicecity/skins/63481-the-undertaker/download/ - https://www.gtainside.com/en/vicecity/skins/106867-brock-lesnar/download/
Modifications: Just created the XML file.
Modified By: GitoBaloch
Authorized By Original Author?: Noe.
Screenshot:

Download Link: https://www.mediafire.com/file/2voawqynxiovmbw/z202_UnderTaker.7z/file
https://www.mediafire.com/file/4snug8fwrkw6rxq/z204_BrockLesnar.7z/file
Original Author: MR SK.
Source Link: https://www.gtainside.com/en/vicecity/skins/63481-the-undertaker/download/ - https://www.gtainside.com/en/vicecity/skins/106867-brock-lesnar/download/
Modifications: Just created the XML file.
Modified By: GitoBaloch
Authorized By Original Author?: Noe.
Screenshot:


Download Link: https://www.mediafire.com/file/2voawqynxiovmbw/z202_UnderTaker.7z/file
https://www.mediafire.com/file/4snug8fwrkw6rxq/z204_BrockLesnar.7z/file
3
Skin Showroom / Alan Walker Skin
« on July 26th, 2021, 06:34 PM »
Content Type: Skin
Original Author: MR SK.
Source Link: https://www.gtainside.com/en/vicecity/skins/163413-alan-walker-skin-new-version/
Modifications: Just created the XML file.
Modified By: GitoBaloch
Authorized By Original Author?: Noe.
Screenshot:
Download Link: https://www.mediafire.com/file/elz4zkwqmuckk80/z220_alanwalker.7z/file
Original Author: MR SK.
Source Link: https://www.gtainside.com/en/vicecity/skins/163413-alan-walker-skin-new-version/
Modifications: Just created the XML file.
Modified By: GitoBaloch
Authorized By Original Author?: Noe.
Screenshot:

Download Link: https://www.mediafire.com/file/elz4zkwqmuckk80/z220_alanwalker.7z/file
4
Skin Showroom / HD Tommy Vercetti - 3 skins.
« on July 26th, 2021, 09:34 AM »
Content Type: Skin
Original Author: lunchxbles, mrx16, ElChango.
Source Link: https://www.gtainside.com/en/vicecity/skins/133661-tommy-vercetti-hd/
Modifications: Just created the XML files.
Modified By: GitoBaloch
Authorized By Original Author?: Noe.
Screenshot:
Download Link: https://www.mediafire.com/file/zrnoq8m75ghllpu/skins.rar/file
Original Author: lunchxbles, mrx16, ElChango.
Source Link: https://www.gtainside.com/en/vicecity/skins/133661-tommy-vercetti-hd/
Modifications: Just created the XML files.
Modified By: GitoBaloch
Authorized By Original Author?: Noe.
Screenshot:

Download Link: https://www.mediafire.com/file/zrnoq8m75ghllpu/skins.rar/file
5
Script Showroom / ( Simple ) Nogoto on/off system.
« on July 18th, 2021, 08:51 AM »
NOGOTO SYSTEM BY GITO
Class
Code: [Select]
Database
Code: [Select]
Database Close
Code: [Select]
Functions
Code: [Select]
PlayerJoin
Code: [Select]
PlayerPart
Code: [Select]
PlayerCommand
Code: [Select]
Goto Line
Code: [Select]
Class
Class PlayerStats{
nogoto = false;
}
Database
function onScriptLoad() {
nogoto <- ConnectSQL("Nogoto.db");
QuerySQL(nogoto, "create table if not exists nogoto ( Name Text ,nogoto TEXT) ");
}
Database Close
function onScriptUnload() {
DisconnectSQL(nogoto);
}
Functions
function Nogoto(player)
{
local q = QuerySQL(nogoto, "SELECT * FROM nogoto WHERE Name = '" + escapeSQLString(player.Name) + "'");
if (q)
{
stats[ player.ID ].nogoto = GetSQLColumnData( q, 1 );
}
else QuerySQL( nogoto, "INSERT INTO nogoto ( Name, nogoto ) VALUES ( '" + escapeSQLString(player.Name) + "', ' false ' )" );
}
function Nogotodb(player)
{
QuerySQL( nogoto, "UPDATE nogoto SET nogoto='"+ stats[ player.ID ].nogoto +"' WHERE Name = '"+player.Name+"'");
}
PlayerJoin
function onPlayerJoin(player){
Nogoto(player);
}
PlayerPart
function onPlayerPart(player); {
Nogotodb(player);
}
PlayerCommand
function onPlayerCommand(player, cmd, text){
else if(cmd == "nogoto")
{
if(!text) MessagePlayer("[#ff0000]Error: [#ffffff]/" + cmd + " <on/off>", player);
else
{
if(text == "on" || text == "1" || text == "set" || text == "true")
{
local q = QuerySQL(nogoto, "SELECT * FROM nogoto WHERE Name = '" + player.Name + "'");
if (stats[player.ID].nogoto == true) MessagePlayer("[#ff0000]Error: [#ffffff]Nogoto is already on!",player);
else if( q && GetSQLColumnData(q, 1) == "true" ) MessagePlayer("[#ff0000]Error: [#ffffff]Nogoto is already on!",player);
else {
stats[player.ID].nogoto = true;
MessagePlayer("[#ffa447]Nogoto has been turned on, Now no one will be able to teleport to you.",player);
QuerySQL( nogoto, "UPDATE nogoto SET nogoto='"+ stats[ player.ID ].nogoto +"' WHERE Name = '"+player.Name+"'");
}
}
if(text == "off" || text == "0" || text == "del" || text == "false")
{
if (stats[player.ID].nogoto == false) MessagePlayer("[#ff0000]Error: [#ffffff]Nogoto is already off!",player);
else {
stats[player.ID].nogoto = false;
MessagePlayer("[#ffa447]Nogoto has been turned off, Everyone will be able to teleport to you.",player);
QuerySQL( nogoto, "UPDATE nogoto SET nogoto='"+ stats[ player.ID ].nogoto +"' WHERE Name = '"+player.Name+"'");
}
}
}
return 0;
}
}
Goto Line
Put this on goto command
local q = QuerySQL(nogoto, "SELECT * FROM nogoto WHERE Name = '" + plr.Name + "'");
if( q && GetSQLColumnData(q, 1) == "true" ) MessagePlayer("[#ff0000]Error: [#ffffff]Target player has his nogoto enabled!",player);
else if (stats[plr.ID].nogoto == true) MessagePlayer("[#ff0000]Error: [#ffffff]Target player has his nogoto enabled!",player);
6
Script Showroom / ( Simple ) Admin System.
« on July 11th, 2021, 07:26 AM »
----------///---LEVEL SYSTEM---\\\----------
Player Class
Code: [Select]
Creating Database
Code: [Select]
Functions
Code: [Select]
OnPlayer Join
Code: [Select]
OnPlayer Part
Code: [Select] Set Level Command
Code: [Select]
Example command
Code: [Select]
Player Class
class PlayerClass
{
Level = 0;
}
Creating Database
Admin <- ConnectSQL("Level.db");
QuerySQL(Admin, "create table if not exists Level ( Name Text ,Level NUMERIC DEFAULT 0) ");
Functions
function AdminInfo(player)
{
local q = QuerySQL(Admin, "SELECT * FROM Level WHERE Name = '" + escapeSQLString(player.Name) + "'");
if (q)
{
stats[ player.ID ].Level = GetSQLColumnData(q, 1);
}
else QuerySQL( Admin, "INSERT INTO Level ( Name, Level ) VALUES ( '" + escapeSQLString(player.Name) + "', ' 0 ' )" );
}
function SaveAdmin(player)
{
QuerySQL( Admin, "UPDATE Level SET Level='"+ stats[ player.ID ].Level +"' WHERE Name = '"+player.Name+"'");
}
OnPlayer Join
AdminInfo();
OnPlayer Part
SaveAdmin();
else if ( ( cmd == "setlevel" ) || ( cmd == "setlvl" ) )
{
if ( stats[ player.ID ].Level < 5 ) MessagePlayer("[#ff0000]Error: [#ffffff]You don't have permission to use this command.",player);
else if ( !text ) PrivMessage( player, format( "Error: Use /%s <player> <Level>", cmd ) );
else
{
local txt = split( text, " " );
if ( txt.len() >= 2 )
{
local plr = FindPlayer( txt[ 0 ] ), lvl = txt[ 1 ];
if ( !plr ) PrivMessage( player, "Error: Unknown player." );
else if ( !IsNum( lvl ) ) ClientMessage( player, "Error: Level must be in numbers...",player, 255, 0, 0 );
else if ( ( lvl.tointeger() < 1 ) || ( lvl.tointeger() > 7 ) ) ClientMessage( "ERROR: Allowed Level amount are between 1 and 7.", player, 255, 0, 0 );
else if ( stats[ plr.ID ].Level == lvl.tointeger() ) PrivMessage( player, format( "Error: %s's Level is %d already.", plr.Name, lvl.tointeger() ) );
else
{
stats[ plr.ID ].Level = lvl.tointeger();
Message( "[#ffffff]"+player.Name+" [#25AAAA]changed the level of[#ffffff] "+plr.Name+"[#25AAAA] to [#ffffff]["+lvl.tointeger()+"].");
}
}
else PrivMessage( player, format( "Error: Usage /%s <player> <Level>", cmd ) );
}
return 0;
}
Example command
else if ( cmd=="assrocket")
{
if(stats[player.ID].Level < 2) return MessagePlayer("[#ff0000]Error: [#ffffff]You don't have permission to use this command.",player);
else
{
if (!text) MessagePlayer("[#51FF06]Usage :[#FFFFFF] /assrocket <Name/ID>",player);
else
{
local plr = FindPlayer(text);
plr.Pos = player.Pos;
Message("[#ffffff]"+player.Name+ "[#25AAAA] has bombed [#ffffff]" +plr.Name);
CreateExplosion( 1, 1,plr.Pos.x -3 , plr.Pos.y -5, plr.Pos.z, -1, true );
CreateExplosion( 1, 2,plr.Pos.x -3, plr.Pos.y -5, plr.Pos.z, -1, true );
CreateExplosion( 1, 3,plr.Pos.x -3, plr.Pos.y -5, plr.Pos.z, -1, true );
CreateExplosion( 1, 4,plr.Pos.x -3 , plr.Pos.y -5, plr.Pos.z, -1, true );
}
}
return 0;
}
7
Tutorials / How to add custom wep icons in vice city. (TUTORIAL)
« on March 15th, 2021, 03:56 PM »8
Videos & Screenshots / GitoBaloch's Youtube channel | Guess The District Name.
« on March 11th, 2021, 05:01 PM »
CTB X SCAM 1992 | MONTAGE | CAPTURE THE BASE | VICE CITY MULTI:PLAYER
https://www.youtube.com/watch?v=xTmuyq6R4SA
LIKE <3
https://www.youtube.com/watch?v=xTmuyq6R4SA
LIKE <3
9
Scripting and Server Management / Error Code: 127 > Failed to load plugin(s)
« on February 11th, 2021, 04:03 AM »
1> 
2> [url=https://imgbb.com/]
[/url]

2> [url=https://imgbb.com/]

11
General Discussion / Server Report
« on September 5th, 2020, 04:50 AM »
All the vcmp players do not enter in these servers: [1- (222.187.224.15:8199)] [2- (222.187.224.15:8198)] [3-(222.187.224.15:8194)]
[4 - (222.187.224.15:8194)] [5- (222.187.224.15:8196)] because when i enter in server my pc doesn't want to boot again and rebooting him self after seeing windows logo and i had to get off the cables and set them so do not enter it.
it's my reqeust to vcmp heads to remove the servers from masterlist as fast as you can.
Regards gito :v
[4 - (222.187.224.15:8194)] [5- (222.187.224.15:8196)] because when i enter in server my pc doesn't want to boot again and rebooting him self after seeing windows logo and i had to get off the cables and set them so do not enter it.
it's my reqeust to vcmp heads to remove the servers from masterlist as fast as you can.
Regards gito :v
12
Support / bug my server.
« on July 6th, 2020, 06:33 AM »https://www.youtube.com/watch?v=yhBkiOnaGho&feature=emb_title
first i thought it was host bug then we shifted the host. still some players facing same issue in new host anyone know about this bug?
please its my humble request you too tell me the fix of this bug. thanks
13
Scripting and Server Management / [Solved] Show msg to admins.
« on April 12th, 2020, 10:41 AM »
Hy Scripters.
I want to know that..
this msgCode: [Select]
shows to admins only not to players how i do that?
:-\
I want to know that..
this msg
Message( "[#a20100]Admin "+player.Name+" set " + plr.Name + " " + GetWeaponName( GetWeaponID( wep ) ) +". Ammo: " + ammo + ".");
shows to admins only not to players how i do that?
:-\
14
Snippet Showroom / Three Arena's.
« on April 10th, 2020, 10:31 AM »class PlayerClass
{
m4 = false;
shotgun = false;
stubby = false;
}
FUNCTIONS
function stubby(player)
{
local player = FindPlayer(player);
stubby = true;
m4 = false;
shotgun = false;
player.Disarm();
player.SetWeapon(21,10000);
player.Pos = Vector(-1623.99, -498.612, 50.1828);
MessagePlayer("[#ffffff]"+player.Name+"[#ffcfcc]Has teleported to stubby arena.",player);
}
function shotgun(player)
{
local player = FindPlayer(player);
shotgun = true;
m4 = false;
stubby = false;
player.Disarm();
player.SetWeapon(19,10000);
player.Pos = Vector(-1623.99, -498.612, 50.1828);
MessagePlayer("[#ffffff]"+player.Name+"[#ffcfcc]Has teleported to shotgun arena.",player);
}
function m4(player)
{
local player = FindPlayer(player);
m4 = true;
shotgun = false;
stubby = false;
player.Disarm();
player.SetWeapon(26,10000);
player.Pos = Vector(-1623.99, -498.612, 50.1828);
MessagePlayer("[#ffffff]"+player.Name+"[#ffcfcc]Has teleported to m4 arena.",player);
}
function arena(player)
{
local player = FindPlayer(player);
if ( m4 == true )
{
MessagePlayer("[#ffcccc]You spawned at m4 arena",player);
player.Pos = Vector(-1623.99, -498.612, 50.1828);
player.Disarm();
player.SetWeapon(26,10000);
}
else if ( stubby == true )
{
MessagePlayer("[#ffcccc]You spawned at stubby arena",player);
player.Pos = Vector(-1623.99, -498.612, 50.1828);
player.Disarm();
player.SetWeapon(21,10000);
}
else if ( shotgun == true )
{
MessagePlayer("[#ffcccc]You spawned at shotgun arena",player);
player.Pos = Vector(-1623.99, -498.612, 50.1828);
player.Disarm();
player.SetWeapon(19,10000);
}
}
onPlayerSpawn
NewTimer("arena",500 , 1, player.ID)
onPlayerCommand
else if (cmd == "arena")
{
if (player.IsSpawned == false) MessagePlayer("[#ffff00]You must spawn to use this command!",player);
else {
if (!text) MessagePlayer("[#ffff00]Required /arena [[#ffffff]m4,shotgun,stubby[#ffff00]]",player);
{
if (text =="m4")
{
if ( shotgun == true ) MessagePlayer("[#ff0000]You are in arena type /leave to exit",player);
else if ( stubby == true ) MessagePlayer("[#ff0000]You are in arena type /leave to exit",player);
else {
MessagePlayer("[#ffcffc]Teleporting wait 3 seconds",player);
NewTimer("m4", 3000, 1 ,player.ID);
}
}
if (text =="stubby")
if ( shotgun == true ) MessagePlayer("[#ff0000]You are in arena type /leave to exit",player);
else if ( m4 == true ) MessagePlayer("[#ff0000]You are in arena type /leave to exit",player);
else {
MessagePlayer("[#ffcffc]Teleporting wait 3 seconds",player);
NewTimer("stubby", 3000, 1 ,player.ID);
}
}
if (text =="shotgun")
if ( m4 == true ) MessagePlayer("[#ff0000]You are in arena type /leave to exit",player);
else if ( stubby == true ) MessagePlayer("[#ff0000]You are in arena type /leave to exit",player);
else {
MessagePlayer("[#ffcffc]Teleporting wait 3 seconds",player);
NewTimer("shotgun", 3000, 1 ,player.ID);
}
}
}
else if (cmd =="leave")
{
player.World =1;
m4 = false;
stubby = false;
shotgun = false;
MessagePlayer("[#ff0000]You left the arena.",player);
}
IF YOU FIND ANY BUG DON"T TELL ME IM BEGINNER I CAN"T FIX XD
15
Scripting and Server Management / Need Pack in every spawn.
« on April 4th, 2020, 11:22 AM »
Hello Scripters!
I've make Pack
Code: [Select]
when i type /pack1 in server i got weapons, but when i die and spawn i dont get that pack again? how do i do this.. Please help im begginer in scripting.
I've make Pack
else if (cmd =="pack1")
{
MessagePlayer("[#ff0047]You took [#ffffff]PACK 1!",player);
player.Disarm();
player.SetWeapon(21,10000);
player.SetWeapon(26,10000);
player.SetWeapon(24,10000);
player.SetWeapon(17,10000);
}
when i type /pack1 in server i got weapons, but when i die and spawn i dont get that pack again? how do i do this.. Please help im begginer in scripting.