Random fires.
#1

How is it possible to make random fires and synchronize it with all players that are connected and the ones that connect when the fire's active?


Thanks!
Reply
#2

Fire is one of the few things that isn't synced in SAMP and I don't believe that there is a fix. Explosions are sort of synced, but not fire specifically.

EDIT: A link I found. It is from 2009 but basically supports what I said above (https://sampforum.blast.hk/showthread.php?tid=102615). Either way, I'm pretty sure that it hasn't been synced since then.
Reply
#3

You would store all the fires' positions in an array, then use a repeating timer to select those floats at random and using the fire object id, you can make server-sided fires!
Reply
#4

Quote:
Originally Posted by VincentDunn
Посмотреть сообщение
You would store all the fires' positions in an array, then use a repeating timer to select those floats at random and using the fire object id, you can make server-sided fires!
There is a fire object id? :O
Reply
#5

https://sampwiki.blast.hk/wiki/Samp_objects

18688 fire
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)