Post: [1.10\C#] onPlayerSpawned Function
04-05-2014, 11:26 AM #1
SnaY
Former Lead of GS
(adsbygoogle = window.adsbygoogle || []).push({}); Hey guys snay here Smile Today i will release the onPlayerSpawned function for Ghosts 1.10 Smile

if you want use the onPlayerSpawnded Function every time you spawn you need first to add this code somewhere on the project:

    public static void onPlayerSpawned(int client)
{
if (PS3.Extension.ReadByte(0xF44480 + ((uint)client * 0x3700)) == 1)
{
Thread.Sleep(2000);
RPC.iPrintlnBold(client, "^1Welcome ^2To ^3The ^4Modded ^5Lobby!");
RPC.iPrintln(client, "^2Press [{+melee}] to open the mod menu");
}
}


You can also use some typewriter functions etc Smile

Note: you need to add it into a timer or a background worker

for call it:

    onPlayerSpawned(0);


^ monitoring the client 0 :p

Get the function on pastebin: You must login or register to view this content.

Enjoy guys and have fun :p

Credits:

Corey original creator of it :p

The following 9 users say thank you to SnaY for this useful post:

ALI ALHILFI, br0wniiez, Kieron, Mango_Knife, Notorious, SC58, WeJailbreakYou, zSunriseModz
04-05-2014, 11:33 AM #2
Mango_Knife
In my man cave
Originally posted by SnaY View Post
Hey guys snay here Smile Today i will release the onPlayerSpawned function for Ghosts 1.10 Smile

if you want use the onPlayerSpawnded Function every time you spawn you need first to add this code somewhere on the project:

    public static void onPlayerSpawned(int client)
{
if (PS3.Extension.ReadByte(0xF44480 + ((uint)client * 0x3700)) == 1)
{
Thread.Sleep(2000);
RPC.iPrintlnBold(client, "^1Welcome ^2To ^3The ^4Modded ^5Lobby!");
RPC.iPrintln(client, "^2Press [{+melee}] to open the mod menu");
}
}


You can also use some typewriter functions etc Smile

Note: you need to add it into a timer or a background worker

for call it:

    onPlayerSpawned(0);


^ monitoring the client 0 :p

Get the function on pastebin: You must login or register to view this content.

Enjoy guys and have fun :p

Credits:

Corey original creator of it :p


SnaY :wub:

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo