ANTICHAT

ANTICHAT (https://forum.antichat.xyz/index.php)
-   Общие вопросы программирования (https://forum.antichat.xyz/forumdisplay.php?f=206)
-   -   Simple question about SAMP-API (https://forum.antichat.xyz/showthread.php?t=1471646)

some 20.03.2023 17:10

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-sd...game_sa/CPed.h (m_fHealth field)

some 20.03.2023 20:14

Цитата:

Сообщение от RedHolms

No, but it possible using plugin-sdk: https://github.com/DK22Pac/plugin-sd...game_sa/CPed.h (m_fHealth field)

i mean other online player

RedHolms 26.03.2023 00:43

Цитата:

Сообщение от some

i mean other online player

There's m_pPed field in CRemotePlayer class

SAMP-API/CRemotePlayer.h at f89b35edb7eaf5db374e32a63f2366c4bb714418 · BlastHackNet/SAMP-API

A library for interacting with functions, classes and structures of SA-MP client - SAMP-API/CRemotePlayer.h at f89b35edb7eaf5db374e32a63f2366c4bb714418 · BlastHackNet/SAMP-API

github.com


Время: 06:46