mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 01:38:17 +08:00
[bot] Implement/match n_IsPlayerStreamedIn(...)
This commit is contained in:
1 parent
6ead220db3
commit
dc4688d7bb
1 file changed
+5
-3
+5
-3
@@ -216,9 +216,11 @@ static cell AMX_NATIVE_CALL n_GetPlayerSpecialAction(AMX *amx, cell *params)
|
||||
// native IsPlayerStreamedIn(playerid)
|
||||
static cell AMX_NATIVE_CALL n_IsPlayerStreamedIn(AMX *amx, cell *params)
|
||||
{
|
||||
if(!pNetGame->GetPlayerPool()->GetSlotState((PLAYERID)params[1])) return 0;
|
||||
|
||||
return pNetGame->IsPlayerAdded((PLAYERID)params[1]);
|
||||
if(pNetGame->GetPlayerPool()->GetSlotState((PLAYERID)params[1]))
|
||||
{
|
||||
return pNetGame->IsPlayerAdded((PLAYERID)params[1]);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// native IsVehicleStreamedIn(vehicleid)
|
||||
|
||||
Reference in new issue
Block a user