add isplayeringarage helper
This commit is contained in:
parent
fb74e2f615
commit
ecc61ca9b4
@ -571,3 +571,7 @@ stock GetGaragePos( garageid, &Float: X, &Float: Y, &Float: Z ) {
|
||||
Y = g_garageData[ garageid ] [ E_Y ];
|
||||
Z = g_garageData[ garageid ] [ E_Z ];
|
||||
}
|
||||
|
||||
stock IsPlayerInGarage( playerid ) {
|
||||
return p_InGarage[ playerid ] != -1;
|
||||
}
|
Loading…
Reference in New Issue
Block a user