07.04.2008, 16:48
SA:MP Bugs Fixer
----------------
Programmer: Amit "Amit_B" Barami
Creation Data: 7/4/2008
Compatibility: SanAndreas:MultiPlayer 0.2.X
Fixed Bugs [*1]
---------------
* "reason" does nothing in OnVehicleDeath. [*2]
* OnRconCommand only works in filterscripts. [*3]
* GetPlayerColor returns 0 if SetPlayerColor hasn't been used.
* SpawnPlayer wont work if the player is in a vehicle. [*4]
* GetWeaponName doesn't work for IDs 18, 44 and 45. [*5]
*1 - From http://forum.sa-mp.com/index.php?top...8729#msg328729.
*2 - Just change the "OnVehicleDeath" function in your gamemode to "OnVehicleDeath2".
*3 - Just change the "OnRconCommand" function in your gamemode to "OnRconCommand2".
*4 - Just change all the "SpawnPlayer(xxx)" functions in your gamemode to "CallRemoteFunction("SpawnPlayer2","d",xxx)" (by pressing CTRL+H).
*5 - Just change all the "GetWeaponName(aaa,bbb,ccc)" functions in your gamemode to "GetWeaponName2(aaa,bbb,ccc)" (by pressing CTRL+H).
Downloads:
http://samp-il.co.cc/amit_b/files/BugsFixer.rar
----------------
Programmer: Amit "Amit_B" Barami
Creation Data: 7/4/2008
Compatibility: SanAndreas:MultiPlayer 0.2.X
Fixed Bugs [*1]
---------------
* "reason" does nothing in OnVehicleDeath. [*2]
* OnRconCommand only works in filterscripts. [*3]
* GetPlayerColor returns 0 if SetPlayerColor hasn't been used.
* SpawnPlayer wont work if the player is in a vehicle. [*4]
* GetWeaponName doesn't work for IDs 18, 44 and 45. [*5]
*1 - From http://forum.sa-mp.com/index.php?top...8729#msg328729.
*2 - Just change the "OnVehicleDeath" function in your gamemode to "OnVehicleDeath2".
*3 - Just change the "OnRconCommand" function in your gamemode to "OnRconCommand2".
*4 - Just change all the "SpawnPlayer(xxx)" functions in your gamemode to "CallRemoteFunction("SpawnPlayer2","d",xxx)" (by pressing CTRL+H).
*5 - Just change all the "GetWeaponName(aaa,bbb,ccc)" functions in your gamemode to "GetWeaponName2(aaa,bbb,ccc)" (by pressing CTRL+H).
Downloads:
http://samp-il.co.cc/amit_b/files/BugsFixer.rar