06.10.2016, 04:33
(
Последний раз редактировалось HoangNam; 06.10.2016 в 12:30.
Причина: Update
)
Код:
#include <a_samp>
#include <a_objects>
#include <a_actor>
#include <a_players>
#include <streamer>
#define MAX_ACTORS 100
new actor1;
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_YES)
{
new actorid = GetPlayerTargetActor(playerid);
if(GetPlayerTargetActor(playerid) != INVALID_ACTOR_ID)
{
if(actorid == actor1)
{
SendClientMessageToAll(-1,"YEahhh, it's working");
}
}
}
return 1;
}
public OnFilterScriptInit()
{
actor1 = CreateActor(29, 1372.7889,-1760.5447,13.6779, 180);
return 1;
}
Код:
C:\Users\PC\Downloads\Compressed\samp03z_svr_R4_win32\filterscripts\mobile.pwn(2701) : error 017: undefined symbol "GetPlayerTargetActor" C:\Users\PC\Downloads\Compressed\samp03z_svr_R4_win32\filterscripts\mobile.pwn(2702) : error 017: undefined symbol "GetPlayerTargetActor"


