I released it:
Well, yeah, but you were first to do it I didn't do it in the first version because I'm not going to turn the script into professional image editing software anyway
I don't know what micheal1230 and karthik_184 want when they ask you to show your code, but that's not needed. To convert the value to string, use function tostring and pass the value as the first argument.
Animations won't do any more than control states do. If the ped isn't synced by player, it won't move on the server. Just use setElementPosition with a timer to move the ped towards the destination every second (or a few seconds).
Detect when player switches between certain weapon slots, then disable the weapon icon in the HUD and draw your own image in that position, create an object, attach it to player's hand using bone attachments resource from here or here and when the player presses fire key, change the health.
I'd rather like to know, what is right? You use x, y and z before getting the position of player, so you're passing nil values to getScreenFromWorldPosition. You also use those variables in dxDrawText, but they're coordinates in GTA world, and dxDrawText needs on-screen coordinates.
Oh, if that works fine, that means the function puts the quotes automatically. But the problem in your script probably comes from getAccountName return value. From the error you wrote, it seems to return false, so the quotes aren't put around it, unlike strings. You need to check what it returns before executing the query.
I tested it and I see where's the problem now. You didn't put the quotes where the name gets inserted. So this should work:
local gname = executeSQLQuery("SELECT govName FROM Government_members WHERE name = '?'", nam)
The script uses element data, so you need to get and set it on saving and loading. But some functions are attached to element data change events, so I don't know how stability will be affected. I will probably make functions for creating tags and getting information about them which could be called from other resources.
That function is wrong. Velocity is measured by GTA units per 1/50th of second. GTA unit is one metre. So speed in kph is velocity*180 and maximum infernus speed is 221 kph.
I think I could try making functions to read to and write from binary files efficiently because I need them too, but I have to do something else first.
Try this:
executeCommandHandler("playpedrecord", getElementsByType("console")[1], 47, 1)
executeCommandHandler makes MTA act in the way as if command was entered.
I don't have a list, but green spray effect appears continuously. You can test the effects yourself - create an object near yourself and you will see if particles keep coming out.
You can download particle objects resource from here or here. It has all (unless I've missed something) GTA SA particle effects. But you can't customize the colors, so it will be red. If you need green effect, you can try making your own with DX drawing functions.