User:Kenix1: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 41: | Line 41: | ||
* Need better function for check if nitro exists. Because if use getVehicleNitroCount > 0 make nonsense if we use last nitro ( nitro count changed to zero ). | * Need better function for check if nitro exists. Because if use getVehicleNitroCount > 0 make nonsense if we use last nitro ( nitro count changed to zero ). | ||
'''Next functions''' | '''Next functions''' | ||
* Disable extra air resistance 0x72DDD9 = 0 | * <strike>Write function setWorldSpecialPropertyEnabled ( string propname, bool enable ) on client side</strike> | ||
Property: | |||
"LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE" ( Disable extra air resistance ) 0x72DDD9 = 0 | |||
<syntaxhighlight lang="lua"> | |||
bool setWorldSpecialPropertyEnabled ( string propname, bool enable ) | |||
</syntaxhighlight> | |||
* <strike>Add regular stuff like: pregMatch, pregReplace, pregFind </strike> | * <strike>Add regular stuff like: pregMatch, pregReplace, pregFind </strike> | ||
* Write function for check if vehicle on fire ( physically ) isVehicleOnFire | * Write function for check if vehicle on fire ( physically ) isVehicleOnFire |
Revision as of 21:43, 25 March 2013
Zombie hell party developer & staff member.
Kenix's TODO list:
Write function guiLabelGetColor on client side
int int int guiLabelGetColor ( element guiLabel )
Write functions guiGridListSetColumnTitle/guiGridListGetColumnTitle on client side
bool guiGridListSetColumnTitle ( element guiGridList, int columnIndex, string title ) string guiGridListGetColumnTitle ( element guiGridList, int columnIndex )
Write functions getEventHandlers on client/server side
table getEventHandlers ( string eventName, element attachedTo )
Write functions set/get/resetMoonSize on client/server side | Adress BYTE 0x8D4B60
setMoonSize ( int size ) -- set's size of the moon, possible values >= 0 getMoonSize () resetMoonSize ()
Write nitro functions on client side
bool isVehicleNitroRecharging ( vehicle theVehicle ) bool isVehicleNitroActivated ( vehicle theVehicle ) int getVehicleNitroCount ( vehicle theVehicle ) float getVehicleNitroLevel ( vehicle theVehicle ) bool setVehicleNitroActivated ( vehicle theVehicle, bool bActivated ) bool setVehicleNitroCount ( vehicle theVehicle, int iCount ) bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )
Nitro issues
- Nitro functions doesn't working correctly if vehicle is streamed out but you use this functions.
- Nitro particle doesn't synced
onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )- Nitro upgrade automaticly removed by increment ( nitro count 1 -> use nitro -> nitro is empty -> nitro count now 0 -> nitro upgrade removed ). Need injection in code. Also if upgrade is removed, function getVehicleUpgradeOnSlot still return an upgrade id but upgrade doesn't exists.
- Need better function for check if nitro exists. Because if use getVehicleNitroCount > 0 make nonsense if we use last nitro ( nitro count changed to zero ).
Next functions
Write function setWorldSpecialPropertyEnabled ( string propname, bool enable ) on client side
Property: "LOCATION_DEPENDENT_VEHICLE_AIR_RESISTANCE" ( Disable extra air resistance ) 0x72DDD9 = 0
bool setWorldSpecialPropertyEnabled ( string propname, bool enable )
Add regular stuff like: pregMatch, pregReplace, pregFind- Write function for check if vehicle on fire ( physically ) isVehicleOnFire
- Trying to make setPedAimTarget working for localPlayer too
- Add a multilanguage support
- Trying to fix custom animations brunch