View Single Post
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 05-24-2017 , 21:20   Re: Using CreateDataTimer
Reply With Quote #20

Quote:
Originally Posted by WildCard65 View Post
Edit: To answer your question, your more then likely erroring on reading an empty DataPack.
Yeap, definitely your problem, I repeat, CreateDatatTimer CREATES A DataPack HANDLE FOR YOU TO FILL!

example:
PHP Code:
DataPack myPack;
CreateDataTimer(5.0MyTimermyPack);
myPack.WriteFloat(5.0); // Write a float to the datapack the timer WILL receive. 
__________________

Last edited by WildCard65; 05-24-2017 at 21:22.
WildCard65 is offline