06.06.2009, 05:54
[Bug fixer]
Description:
Bug fixer is to fix some PAWN-SAMP bugs.
Released version:0.2.0
[Bug fix list]
Function
Bug description
- Fire death
- GetPlayerMenu
it will return the old menu id instead of INVALID_MENU
- GetPlayerTeam
- IsPlayerInRaceCheckpoint
so it returns a undetermined value
- IsPlayerInCheckpoint
so it returns a undetermined value
- SetPlayerRaceCheckpoint
Doesn't fix:If the checkpoint is set on a custom object or a non-solid surface it will show floating above the surface
- SetPlayerCheckpoint
Doesn't fix:If the checkpoint is set on a custom object or a non-solid surface it will show floating above the surface
- GetPlayerColor
- GetPlayerWeaponData
- SetPlayerAmmo
- GetPlayerAmmo
- GetWeaponName
- GetPlayerInterior
- SpawnPlayer
- floatstr
- strval
- strcmp
it will return 0 (recognising them as being the same)
- PlayerPlaySound
- SetPlayerName
- GetVehicleTrailer
- AttachTrailerToVehicle
Note:It just prevent them from attaching when they're in different virtual world.
More info about bugs
Complete bug list.
[Note]
You can (en/dis)able the bug fix by changing false|true(In the pwn file).
pawn Код:
#define GCS_BF_FIREDEATH (true)//or (false)
pawn Код:
public OnGameModeInit(){
gcs_bf_OnGameModeInit();
return true;
}
public OnPlayerConnect(playerid){
gcs_bf_OnPlayerConnect(playerid);
return true;
}
public OnPlayerDeath(playerid,killerid,reason){
gcs_bf_OnPlayerDeath(playerid);
return true;
}
public OnPlayerSelectedMenuRow(playerid,row){
gcs_bf_OnPlayerSelectedMenuRow(playerid);
return true;
}
public OnPlayerExitedMenu(playerid){
gcs_bf_OnPlayerExitedMenu(playerid);
return true;
}
Bug fixer v0.2.0:gcs_bugfix.inc(Please renamed to gcs_bugfix.inc)
Note:Error "Input line too long" has been fixed.
Thanks for reporting this bug(reported by fallout,[SU]BP13).
[Bugs]
-
If you find any bug in this include.please post here or contact us.
- GCS Team