use player buttons
#1

hey, first sorry for my bad english.

ok, I want to know if this is possible to use players keys like controlling them,
I want they move forward or shooting on my command...
and If this can't be on players that possible in npc?
Reply
#2

Give an example?
Reply
#3

Quote:
Originally Posted by Rifa4life
Посмотреть сообщение
Give an example?
what you mean of example?

I want to control the player

UseButton(playerid,FIRE_KEY);

have something like that?
Reply
#4

You want to control other player who is playing?
Reply
#5

Logically, that user is asking if there are any functions related to the players, to force them to do something from the script (server) side. Like shoot, walk, run, enter car etc.

Answer: Impossible to achieve with current functions, and probably won't be achievable in a future without special client-side modifications installed.
Reply
#6

In that case, then yeh, what Riddick said. But you can do something like that with NPCs, perhaps not with native functions but if you use Mauzen's RNPC plugin and make use of functions such as:

pawn Код:
RNPC_AddMovement(Float:x1, Float:y1, Float:z1, Float:x2, Float:y2, Float:z2, Float:speed, use_zmap);
RNPC_ConcatMovement(Float:x, Float:y, Float:z, Float:speed, use_zmap);
RNPC_AddPause(Ftime)
RNPC_SetKeys(keys)
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)