Просмотр полной версии : Simple question about SAMP-API
Is it possible to kill a player using samp-api? If yes pls throw me the code.
RedHolms
20.03.2023, 19:38
No, but it possible using plugin-sdk: https://github.com/DK22Pac/plugin-sdk/blob/master/plugin_sa/game_sa/CPed.h (m_fHealth field)
No, but it possible using plugin-sdk: https://github.com/DK22Pac/plugin-sdk/blob/master/plugin_sa/game_sa/CPed.h (m_fHealth field)
i mean other online player
RedHolms
26.03.2023, 00:43
i mean other online player
There's m_pPed field in CRemotePlayer class
SAMP-API/CRemotePlayer.h at f89b35edb7eaf5db374e32a63f2366c4bb714418 · BlastHackNet/SAMP-API (https://github.com/BlastHackNet/SAMP-API/blob/f89b35edb7eaf5db374e32a63f2366c4bb714418/include/sampapi/0.3.7-R1/CRemotePlayer.h#L42)
A library for interacting with functions, classes and structures of SA-MP client - SAMP-API/CRemotePlayer.h at f89b35edb7eaf5db374e32a63f2366c4bb714418 · BlastHackNet/SAMP-API
github.com
vBulletin® v3.8.14, Copyright ©2000-2026, vBulletin Solutions, Inc. Перевод: zCarot