16.09.2016, 12:22
Hello !! This is my code
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
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { GetPlayerTargetActor(playerid); if (PRESSED( KEY_RIGHT | KEY_YES ) & ) { SendClientMessage(playerid, 0x00FF00FF, "Actors System"); } return 1; }