2 Easy and simple questions
#1

First Question :
How can I make the every players command
to be shown to the online admins. I use ZCMD.
I don't know how to do it in ZCMD

Second Question :
How can I know if a Certain Player with a Certain
Skin attacks any player with a Certain Skin.

Thanks,
ViruZZzZ_ChiLLL

EDIT :
Examples :
Quote:

ViruZZzZ_ChiLLL (Playerid : 2) has used the command (/cmds)

and
Quote:

ViruZZzZ_ChiLLL has been attacked by SomeRandomGuy and got infected by herpes!

Reply
#2

Well, I don't see a way to actually check which player shot at which player ( maybe seif's "body part hit" detection script will help).
Also, you can check it under OnPlayerDeath if you want to.
Reply
#3

For your first question:
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
Do the same as you would with OnPlayerCommandText but with that callback. Should work
Reply
#4

Oh, okay thanks guys. But I'm still kinda not
clarified with my 2nd question. ANYONE?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)