mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-01-04 00:23:22 +08:00
[server] Implement/match n_GangZoneShowForAll(...)
This commit is contained in:
parent
83f1876545
commit
4864e3c866
@ -615,10 +615,13 @@ static cell AMX_NATIVE_CALL n_GangZoneShowForPlayer(AMX *amx, cell *params)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// native GangZoneShowForAll(zone, color)
|
||||||
static cell AMX_NATIVE_CALL n_GangZoneShowForAll(AMX *amx, cell *params)
|
static cell AMX_NATIVE_CALL n_GangZoneShowForAll(AMX *amx, cell *params)
|
||||||
{
|
{
|
||||||
// TODO: GangZoneShowForAll
|
CGangZonePool *pGangZonePool = pNetGame->GetGangZonePool();
|
||||||
return 0;
|
if (!pGangZonePool || !pGangZonePool->GetSlotState(params[1])) return 0;
|
||||||
|
pGangZonePool->ShowForAll(params[1], params[2]);
|
||||||
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static cell AMX_NATIVE_CALL n_GangZoneHideForPlayer(AMX *amx, cell *params)
|
static cell AMX_NATIVE_CALL n_GangZoneHideForPlayer(AMX *amx, cell *params)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user