Originally posted by Apex
Just go to the main thread and look for onPlayerSpawned and do wht ive done below pretty easy
Credit goes to xCobraModzFTW(PlautGaming) for showing me and explaining this to me
void onPlayerSpawned(int clientIndex)
{
sleep(1000);
char buf[100];
_toc::stdc_snprintf(buf, 100, "Welcome [ %s ]", (char*)0x014E5408 + (clientIndex * 0x3700));
huds::SetMessage(clientIndex, buf, "Apex_Modz- SPRX Menu", 2048, 50, 7000, 1500, 255, 255, 255, 255, 17, 255, 0, 255);
_toc::SV_GameSendServerCommand(clientIndex, 0, "o \"mp_level_up\"");
char dest[100];
_toc::stdc_snprintf(dest, 100, "^2DudeCanMods Awesome SPRX Base! Press [{+actionslot 1}] For Menu");
_toc::iPrintln(clientIndex, dest);
if (RedBoxes_[clientIndex] == true)
{
RedBoxes(clientIndex);
RedBoxes(clientIndex);
}
if (LC[clientIndex] == true)
{
LittleCross(clientIndex);
LittleCross(clientIndex);
}
}
This is not like GSC where everyone is just going to have OnPlayerSpawned in there threads, you should be more thorough when you make things like this as not everyone is going to be using the same thing you are using. Besides your better off using hooks.