rssmaptofunction
Category: | script |
---|---|
Author(s): | yvadfulck |
Downloads: | 12 |
Rate: | You need to be logged in to vote |
Rating: | None (0) |
Description:
Simple script to convert a map to a function
type /convertmymap (newresourcename)
the map gets created in a new resource(therefore it needs admin privs)
as a client.lua
the original map gets respawned when the resource starts
an event is added to respawn the map(copy) where and how many times you want :p
the event can be triggered like this :
triggerClientEvent(newresourcename,x,y,z,int,dim)
type /convertmymap (newresourcename)
the map gets created in a new resource(therefore it needs admin privs)
as a client.lua
the original map gets respawned when the resource starts
an event is added to respawn the map(copy) where and how many times you want :p
the event can be triggered like this :
triggerClientEvent(newresourcename,x,y,z,int,dim)
Version history
Version | Publish Date | Changes | |
---|---|---|---|
2.0.0 | 2018-08-16 12:15:25 | i admit the output was a huge... rescripted it : now it creates a new resource with the map as lua file (clientside) i compacted the created clientfile a bit... the map spawns at the original int and dim also the function becomes an event(to recreate the map on different locations)(the calc is up to you) |
Download |
1.0.0 | 2018-08-12 13:15:15 | First public release | Download |