This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RegisterCommand('particle', function(source, args, rawCommand) | |
| local dict = args[1] | |
| local name = args[2] | |
| local loop = tostring(args[3]) | |
| if dict == nil or name == nil then | |
| Citizen.Trace('[Particles] Invalid arguments.') | |
| TriggerEvent('chatMessage', '', {255,255,255}, '[Particles] ^8Error: ^1Invalid arguments.') | |
| else | |
| RequestNamedPtfxAsset(dict) |
NewerOlder