Post: [1.04][Release][C#]Script 1.04 , Wepons , Clone , Set model , Teleport ZONE And other
11-17-2014, 01:26 AM #1
LBK
Little One
(adsbygoogle = window.adsbygoogle || []).push({}); Hi NGU People Happy

Today Me , and GsRClans , We have decided to release the giveweapons + the dump index Weapons !
And release , a Set model , Teleport Zone , And other Script ! Happy

Threads Updatate for 1.04 !


Give Wepons :

Code GiveWepons !
    
#region Give Wepons Index
public static void G_GivePlayerWeapon(int Client, int Weapon, int ammo)
{
RPC.Call(0x36A6A0, 0x1950880+ 0x4180 * (uint)Client, Weapon, 0);
RPC.Call(0x3101C0, 0x1950880+ (Client * 0x4180), Weapon, 0, ammo, 1);
}
#endregion



How tu use ?
    
G_GivePlayerWeapon(0, 1 , 999);//0 for Client || 1 For Index || 999 for Ammo



Set Model Player !


    
Public static void SetModel(Int Client , string Models)
{
RPC.Call(0x365738 , 0x1860880+ 0x280 * (uint)Client, Model);
}


How To use ? :

    
SetModel(0, "orbital_carepackage_pod_01_ai"); // 0 For client || Model



Clone Player : Thanks xReaper !

    
public static void ClonePlayer(int clientIndex)
{
RPC.Call(0x303C68, new object[] { clientIndex });
}


How To use ? :

    
ClonePlayer(0);// 0 for Player



Set Blur :

    
public static void setBlur(Int32 transitionTime)
{
SV_GameSendServerCommand(0, "i _ " + transitionTime + " ");
}


How to use ? :
    
RPC.setBlur(20);//20 For Blur !



Set Vision :

    
public static void SetVision(int clientIndex, string Vision)
{
SV_GameSendServerCommand(clientIndex, "J "" + Vision + "" ");
}


How To use ? :

    
RPC.SetVision(0, "Name vision ");



Teleport Flags ! : 1.03 future Update

to put in a timer ! :
    
for (int i = 0; i < 12; i++)
{
float[] test = getPlayerOrigin(i);
int X = (int)test[0];
int Y = (int)test[1];
int Z = (int)test[2];
if (X == (int)X0 || Y == (int)Y0 || X == ((int)X0 + 1) || Y == ((int)Y0 + 1) || X == ((int)X0 - 1) || Y == ((int)Y0 - 1) || X == ((int)X0 + 2) || Y == ((int)Y0 + 2) || X == ((int)X0 - 2) || Y == ((int)Y0 - 3) || X == ((int)X0 + 3) || Y == ((int)Y0 + 3) || X == ((int)X0 - 3) || Y == ((int)Y0 - 3))
{
if (Z < 500)
{
WriteSingle(0x01905978 + ((uint)i * 0x4180), new float[] { XT, YT, ZT });
}
}
else if (X == (int)X1 || Y == (int)Y1 || X == ((int)X1 + 1) || Y == ((int)Y1 + 1) || X == ((int)X1 - 1) || Y == ((int)Y1 - 1) || X == ((int)X1 + 2) || Y == ((int)Y1 + 2) || X == ((int)X1 - 2) || Y == ((int)Y1 - 2) || X == ((int)X1 + 3) || Y == ((int)Y1 + 3) || X == ((int)X1 - 3) || Y == ((int)Y1 - 3))
{
if (Z > 999 && Z < 1020)
{
WriteSingle(0x01905978 + ((uint)i * 0x4180), new float[] { XR, YR, ZR });
}
}
}

To put in a Public / Private ! :
    
public int X0;
public int Y0;
public int Z0;
public int X1;
public int Y1;
public int Z1;
int XT;
int YT;
int ZT;
int XR;
int YR;
int ZR;
bool[] gm = new bool[17];

To put in a Button For Start !! :
    
float[] Player = getPlayerOrigin(0);
int X = (int)Player[0];
int Y = (int)Player[1];
float[] FortTele = { Player[0], Player[1], 1010 };
float[] ReturnOrigin = { X + 80, Y - 70, 1000 };
X0 = (int)Player[0];
Y0 = (int)Player[1];
X1 = (int)X + 80;
Y1 = (int)Y - 70;
XT = (int)FortTele[0];
YT = (int)FortTele[1];
ZT = (int)FortTele[2];
XR = (int)Player[0] + 6;
YR = (int)Player[1];
ZR = (int)Player[2];

spawnEntity("orbital_carepackage_pod_01_ai", Player, new float[] { 0, 0, 0 });
Thread.Sleep(100);

spawnEntity("orbital_carepackage_pod_01_ai", ReturnOrigin, new float[] { 0, 0, 0 });
Thread.Sleep(100);

iPrintlnBold(-1, "Teleport Zone By Lebigkilleur And GsRClans , ^3Thans OLDSCHOOLMODZHD ! ");
Thread.Sleep(50);
teleport.Enabled = true;//Timer a Function
teleport.Start();//Timer a Function


For use all : You need a : Spawn Entity : Thanks xReaperv !! And RPC , Thans Shark , and SC58 !
Credit For Function Teleport Zone ? : Me And Gsr Clans for Adapted on AW ! But most credits go to OLDSCHOOLMODZHD For function on BO2 !

Link for DUMP Index !!

You must login or register to view this content.

For Model list ---> Go : You must login or register to view this content.
And choice a "xmodels.txt" !

Link for Dump Vision :

You must login or register to view this content.

Good coding you ! :p

Credits ? :

Me and GsRClans : For Function + DUMP INDEX !
Aerosoul : for his Asset Dump !
Rawdog : for vision on tool
OLDSCHOOLMODZHD , For Function teleport BO2 !
xReaper : For Adresse , Clone Player !
Last edited by LBK ; 11-20-2014 at 10:06 PM. Reason: New Code

The following 6 users say thank you to LBK for this useful post:

Antonio96C, Boliberrys, gsrclans, NotALegitPlayer, Thirst, xbold

The following user groaned LBK for this awful post:

OLDSCHOOLMODZHD
11-18-2014, 12:20 AM #20
Originally posted by Lebigkilleur View Post
Where is the problem ? Just Release the function for People NGU ... I put all the good credit etc ..


.-. Fuck it if you people are that stupid lets make hundreds of threads with random script collections

The following user thanked OLDSCHOOLMODZHD for this useful post:

Swaqq
11-18-2014, 08:09 AM #21
Sunnis
Mario!
Originally posted by OLDSCHOOLMODZHD View Post
.-. Fuck it if you people are that stupid lets make hundreds of threads with random script collections


Originally posted by Lebigkilleur View Post
Where is the problem ? Just Release the function for People NGU ... I put all the good credit etc ..


It does make it a lot harder to navigate forums when there is a 100 unnecessary treads on the same topic :stop:
11-18-2014, 09:29 AM #22
LBK
Little One
Edited :p ! Added Teleport ZOne ! Big Thanks a OLDSCHOOLMODZHD For Function On BO2 !
11-19-2014, 02:42 AM #23
Swaqq
Professional Thanker
Originally posted by gsrclans View Post
Sticky is dead ? :troll:


Nope it isn't I'm still adding stuff, besides most of the stuff is already in there
11-19-2014, 03:03 AM #24
Originally posted by Swaqq View Post
Nope it isn't I'm still adding stuff, besides most of the stuff is already in there


Okey Smile
11-19-2014, 09:09 PM #25
Originally posted by Lebigkilleur View Post
Edited :p ! Added Teleport ZOne ! Big Thanks a OLDSCHOOLMODZHD For Function On BO2 !


you used the wrong one .-. :fa: I give up with people
11-19-2014, 09:20 PM #26
LBK
Little One
Originally posted by OLDSCHOOLMODZHD View Post
you used the wrong one .-. :fa: I give up with people


No ^^ , it works very well for me and my friend !

I test everything I did before release (d)

But what coding talk ??
11-20-2014, 10:07 PM #27
LBK
Little One
Threads Updated for MAJ 1.04 ! Thanks for xReaperv3 For Adresse ! <3
11-21-2014, 07:56 PM #28
Antonio96C
Do a barrel roll!
Good friend Smile

The following user thanked Antonio96C for this useful post:

LBK

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo