User:Kenix1: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 34: Line 34:
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )
bool setVehicleNitroLevel ( vehicle theVehicle, float fLevel )
</syntaxhighlight>
</syntaxhighlight>
'''Nitro issues'''
* Nitro particle doesn't synced
* onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )
* nitro automaticly removed by increment ( nitro count 1 -> use nitro -> nitro is empty -> nitro count now 0 -> nitro upgrade removed ). Need injection in code.


* Sync nitro particle stream in/out
* Write functions set/get/resetStarsSize | Adress FLOAT 0x8D5634
* Write functions set/get/resetStarsSize | Adress FLOAT 0x8D5634
* Write function set/getStarsPosition for change stars position on client/server side | Adresses: 0x8D55EC float posX, 0x8D5610 float posY
* Write function set/getStarsPosition for change stars position on client/server side | Adresses: 0x8D55EC float posX, 0x8D5610 float posY

Revision as of 09:52, 19 February 2013

Coder.gif This user is an MTA developer

Multi Game MTA developper/owner.

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 particle doesn't synced
  • onClientVehicleNitroStateChange doesn't work if nitro count == 0 ( but nitro still exists )
  • nitro automaticly removed by increment ( nitro count 1 -> use nitro -> nitro is empty -> nitro count now 0 -> nitro upgrade removed ). Need injection in code.


  • Write functions set/get/resetStarsSize | Adress FLOAT 0x8D5634
  • Write function set/getStarsPosition for change stars position on client/server side | Adresses: 0x8D55EC float posX, 0x8D5610 float posY
  • 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