GetPlayerTargetActor
#1

Hello !! This is my code
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
GetPlayerTargetActor(playerid);
if (PRESSED( KEY_RIGHT | KEY_YES ) & )
{
SendClientMessage(playerid, 0x00FF00FF, "Actors System");
}
return 1;
}
First, player will target actor and then press Right Mouse + Y then SendMsg. I dont know how to use GetPlayerTargetActor in this script. Anyone can help me!! PLz!! Sorry for my bad English :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)