ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2357

How to trigger script events?

by MikeLento - 11-07-2018 - 07:10 PM
#11
(11-07-2018 - 07:10 PM)MikeLento Wrote:
Code:
void forceToDarts(int playerId)
{
int Args[3];
Args[0] = 3;
Args[1] = playerId;
Args[2] = 0x36;
TriggerScriptEvent(Args, 3, playerId);
}
This 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.
TO THINK SIRS
Reply

Users browsing: 1 Guest(s)