anyone know how to do this Event Notify?
DISCORD: xexghosted
(09-29-2019 - 02:21 AM)BIGMARK Wrote: void MPMESSAGE(char* msg, char* desc)
{
featureBigMPMessge = true;
BigMPMessagemgs = msg;
BigMPMessagedesc = desc;
PLAY_SOUND_FRONTEND(-1, "RACE_PLACED", "HUD_AWARDS");
}
if (featureBigMPMessge)
{
if (!HAS_SCALEFORM_MOVIE_LOADED(SFBigMPMessage))
SFBigMPMessage = REQUEST_SCALEFORM_MOVIE("MP_BIG_MESSAGE_FREEMODE");
else
{
if (GET_GAME_TIMER() > featureTimeMPMessage) {
featureTimeMPMessage = GET_GAME_TIMER() + 20;
_PUSH_SCALEFORM_MOVIE_FUNCTION(SFBigMPMessage, "SHOW_SHARD_CREW_RANKUP_MP_MESSAGE");
set_text_component(BigMPMessagemgs);
set_text_component(BigMPMessagedesc);
_POP_SCALEFORM_MOVIE_FUNCTION_VOID();
DRAW_SCALEFORM_MOVIE_FULLSCREEN(SFBigMPMessage, 255, 255, 255, 255);
if (_BigMPMessagetime == 40) {
_PUSH_SCALEFORM_MOVIE_FUNCTION(SFBigMPMessage, "TRANSITION_UP");
_POP_SCALEFORM_MOVIE_FUNCTION_VOID();
SET_SCALEFORM_MOVIE_AS_NO_LONGER_NEEDED(&SFBigMPMessage);
featureBigMPMessge = false;
_BigMPMessagetime = 0;
}
else
_BigMPMessagetime++;
}
}
}
(09-29-2019 - 02:21 AM)BIGMARK Wrote: void MPMESSAGE(char* msg, char* desc)
{
featureBigMPMessge = true;
BigMPMessagemgs = msg;
BigMPMessagedesc = desc;
PLAY_SOUND_FRONTEND(-1, "RACE_PLACED", "HUD_AWARDS");
}
if (featureBigMPMessge)
{
if (!HAS_SCALEFORM_MOVIE_LOADED(SFBigMPMessage))
SFBigMPMessage = REQUEST_SCALEFORM_MOVIE("MP_BIG_MESSAGE_FREEMODE");
else
{
if (GET_GAME_TIMER() > featureTimeMPMessage) {
featureTimeMPMessage = GET_GAME_TIMER() + 20;
_PUSH_SCALEFORM_MOVIE_FUNCTION(SFBigMPMessage, "SHOW_SHARD_CREW_RANKUP_MP_MESSAGE");
set_text_component(BigMPMessagemgs);
set_text_component(BigMPMessagedesc);
_POP_SCALEFORM_MOVIE_FUNCTION_VOID();
DRAW_SCALEFORM_MOVIE_FULLSCREEN(SFBigMPMessage, 255, 255, 255, 255);
if (_BigMPMessagetime == 40) {
_PUSH_SCALEFORM_MOVIE_FUNCTION(SFBigMPMessage, "TRANSITION_UP");
_POP_SCALEFORM_MOVIE_FUNCTION_VOID();
SET_SCALEFORM_MOVIE_AS_NO_LONGER_NEEDED(&SFBigMPMessage);
featureBigMPMessge = false;
_BigMPMessagetime = 0;
}
else
_BigMPMessagetime++;
}
}
}
(09-29-2019 - 12:36 PM)PhucedMODZ Wrote:(09-29-2019 - 02:21 AM)BIGMARK Wrote: void MPMESSAGE(char* msg, char* desc)
{
featureBigMPMessge = true;
BigMPMessagemgs = msg;
BigMPMessagedesc = desc;
PLAY_SOUND_FRONTEND(-1, "RACE_PLACED", "HUD_AWARDS");
}
if (featureBigMPMessge)
{
if (!HAS_SCALEFORM_MOVIE_LOADED(SFBigMPMessage))
SFBigMPMessage = REQUEST_SCALEFORM_MOVIE("MP_BIG_MESSAGE_FREEMODE");
else
{
if (GET_GAME_TIMER() > featureTimeMPMessage) {
featureTimeMPMessage = GET_GAME_TIMER() + 20;
_PUSH_SCALEFORM_MOVIE_FUNCTION(SFBigMPMessage, "SHOW_SHARD_CREW_RANKUP_MP_MESSAGE");
set_text_component(BigMPMessagemgs);
set_text_component(BigMPMessagedesc);
_POP_SCALEFORM_MOVIE_FUNCTION_VOID();
DRAW_SCALEFORM_MOVIE_FULLSCREEN(SFBigMPMessage, 255, 255, 255, 255);
if (_BigMPMessagetime == 40) {
_PUSH_SCALEFORM_MOVIE_FUNCTION(SFBigMPMessage, "TRANSITION_UP");
_POP_SCALEFORM_MOVIE_FUNCTION_VOID();
SET_SCALEFORM_MOVIE_AS_NO_LONGER_NEEDED(&SFBigMPMessage);
featureBigMPMessge = false;
_BigMPMessagetime = 0;
}
else
_BigMPMessagetime++;
}
}
}
Make sure to give credit to me and roulette as we both released it on pastebin
(09-30-2019 - 03:26 AM)BIGMARK Wrote:(09-29-2019 - 12:36 PM)PhucedMODZ Wrote:(09-29-2019 - 02:21 AM)BIGMARK Wrote: void MPMESSAGE(char* msg, char* desc)
{
featureBigMPMessge = true;
BigMPMessagemgs = msg;
BigMPMessagedesc = desc;
PLAY_SOUND_FRONTEND(-1, "RACE_PLACED", "HUD_AWARDS");
}
if (featureBigMPMessge)
{
if (!HAS_SCALEFORM_MOVIE_LOADED(SFBigMPMessage))
SFBigMPMessage = REQUEST_SCALEFORM_MOVIE("MP_BIG_MESSAGE_FREEMODE");
else
{
if (GET_GAME_TIMER() > featureTimeMPMessage) {
featureTimeMPMessage = GET_GAME_TIMER() + 20;
_PUSH_SCALEFORM_MOVIE_FUNCTION(SFBigMPMessage, "SHOW_SHARD_CREW_RANKUP_MP_MESSAGE");
set_text_component(BigMPMessagemgs);
set_text_component(BigMPMessagedesc);
_POP_SCALEFORM_MOVIE_FUNCTION_VOID();
DRAW_SCALEFORM_MOVIE_FULLSCREEN(SFBigMPMessage, 255, 255, 255, 255);
if (_BigMPMessagetime == 40) {
_PUSH_SCALEFORM_MOVIE_FUNCTION(SFBigMPMessage, "TRANSITION_UP");
_POP_SCALEFORM_MOVIE_FUNCTION_VOID();
SET_SCALEFORM_MOVIE_AS_NO_LONGER_NEEDED(&SFBigMPMessage);
featureBigMPMessge = false;
_BigMPMessagetime = 0;
}
else
_BigMPMessagetime++;
}
}
}
Make sure to give credit to me and roulette as we both released it on pastebin
This code was extracted from the source code Semjases