I want to know where I was wrong??
if (cleartask)
{
*(int*)0x12CC958 = 0x4E800020;
if (NETWORK::NETWORK_IS_SESSION_STARTED()) {
if (selectedPlayer != PLAYER::PLAYER_ID())
{
char buff[100];
snprintf(buff, sizeof(buff), "~%s Tried to clear you task!", PLAYER::GET_PLAYER_NAME);
PRINT(buff, 5000);
}
}
}
else
{
*(int*)0x12CC958 = 0x7C0802A6;
}
if (cleartask)
{
*(int*)0x12CC958 = 0x4E800020;
if (NETWORK::NETWORK_IS_SESSION_STARTED()) {
if (selectedPlayer != PLAYER::PLAYER_ID())
{
char buff[100];
snprintf(buff, sizeof(buff), "~%s Tried to clear you task!", PLAYER::GET_PLAYER_NAME);
PRINT(buff, 5000);
}
}
}
else
{
*(int*)0x12CC958 = 0x7C0802A6;
}