Code:
void forceToDarts(int playerId)
{
int Args[3];
Args[0] = 3;
Args[1] = playerId;
Args[2] = 0x36;
TriggerScriptEvent(Args, 3, playerId);
}
void forceToDarts(int playerId)
{
int Args[3];
Args[0] = 3;
Args[1] = playerId;
Args[2] = 0x36;
TriggerScriptEvent(Args, 3, playerId);
}
(11-07-2018 - 07:10 PM)MikeLento Wrote:learnThis is the code I found on df, I want to learn how to make this from scratch, I've tried everything by searching in freemode.c, I just can't figure out how to get arg 0(3) and arg 2(0x36). Any help is well appreciated.Code:void forceToDarts(int playerId)
{
int Args[3];
Args[0] = 3;
Args[1] = playerId;
Args[2] = 0x36;
TriggerScriptEvent(Args, 3, playerId);
}
(10-20-2019 - 07:59 AM)Torxi Wrote: http://www.mediafire.com/file/nde9vgc46u...7.txt/file
Maybe the list helps
(11-07-2018 - 07:10 PM)MikeLento Wrote:INTERSTINGThis is the code I found on df, I want to learn how to make this from scratch, I've tried everything by searching in freemode.c, I just can't figure out how to get arg 0(3) and arg 2(0x36). Any help is well appreciated.Code:void forceToDarts(int playerId)
{
int Args[3];
Args[0] = 3;
Args[1] = playerId;
Args[2] = 0x36;
TriggerScriptEvent(Args, 3, playerId);
}