View Issue Details

IDProjectCategoryView StatusLast Update
0005220Multi Theft Auto : San AndreasServerpublic2010-02-27 01:46
ReporterDakiLLaAssigned Tox86 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.0.3 
Target Version1.0.4Fixed in Version1.0.4 
Summary0005220: isPedDoingGangDriveby returns 1 and 0 in server-side instead of 'true' and 'false'
Description

isPedDoingGangDriveby returns 1 and 0 in server-side instead of 'true' and 'false' (like in client-side) if the drive-by state enabled/disabled.

I guess it should return true and false aswell as client-side do it...

Steps To Reproduce

Simple runcode commands:
run isPedDoingGangDriveBy( getPlayerFromName( 'someGuy' ) ) --will return 0
run setPedDoingGangDriveBy( getPlayerFromName( 'someGuy' ), true )
run isPedDoingGangDriveBy( getPlayerFromName( 'someGuy' ) ) --will return 1 now

TagsNo tags attached.

Activities

DakiLLa

2010-02-25 21:40

viewer   ~~0011091

my often mistake: isPedDoingGangDriveby (should be small letter 'b') :p

x86

2010-02-26 19:09

administrator   ~~0011093

Last edited: 2010-02-26 19:14

Fixed in x86 fork: http://github.com/x86/multitheftauto/commit/52edf33d80ee5d51d7a3e6b2619139390f090eee

Forgot a lua_pushnumber:
http://github.com/x86/multitheftauto/commit/6499f3e93d36426aed3fa8dca2cae2eff57824eb

Waiting on pull.

Issue History

Date Modified Username Field Change