


Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!#using scripts\codescripts\struct;
#using scripts\shared\callbacks_shared;
#using scripts\shared\system_shared;
#insert scripts\shared\shared.gsh;
#namespace clientids;
REGISTER_SYSTEM( "clientids", &__init__, undefined )
function __init__()
{
callback::on_start_gametype( &init );
callback::on_connect( &on_player_connect );
callback::on_spawned( &on_player_spawned );
callback::on_player_killed(&on_player_damaged);
}
function init()
{
level.clientid = 0;
}
function on_player_connect()
{
self.clientid = matchRecordNewPlayer( self );
if ( !isdefined( self.clientid ) || self.clientid == -1 )
{
self.clientid = level.clientid;
level.clientid++;
}
}
function on_player_spawned()
{
iPrintln("^2Fuck Em Up =)");
}
function on_player_damaged(victim, attacker)
{
self.printname = victim GetPlayerName();
iPrintLn(self.printname);
}
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
void <player> GetPlayerName()
CATEGORY:
CLIENT/SERVER: Client
SUMMARY: Gets the character index
EXAMPLE: player_name = self GetPlayerName()
if(IsPlayer(victim))
{
self.printname = victim.playername;
iPrintLn(self.printname);
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
Thanks for your reply! Man i am totally lost! Is there any kind of documentation or tutorial you can recommend to get into modding bo3?
Thank you! I will read them when i come home. PS. Whats the difference between gsc scripts and csc script?
There is documentation in your mod tools. And there are a ton of tutorials on youtube for different things.
Here are some tutorials I made, and also at the bottom left of the page, links to some others that make tutorials, but there are many many more out there:
https://sites.google.com/site/makecentsgaming/home/bo3-tutorials
gsc is server and csc is client. That means that gsc is for everyone and csc is per player.