01.06.2015, 11:22
Hello, i created some actors sometime they are on the place where i created them, and sometimes they are random flying around see screenshot.
code:
code:
PHP код:
public OnGameModeInit()
{
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
// Actors
Test = CreateActor(188, 2498.410644, -1687.748901, 13.515432, 12.163675);
ApplyActorAnimation(Test, "RAPPING", "RAP_B_Loop", 4.1, 1, 0, 0, 0, 0); // rap 2
SetActorHealth(Test, 100);
CJ = CreateActor(0, 2493.921386, -1690.803833, 14.765625, 269.682464);
ApplyActorAnimation(CJ, "DEALER", "DEALER_IDLE", 4.1, 1, 0, 0, 0, 0); // crossarms 2
Grove1 = CreateActor(105, 2484.708496, -1685.320922, 13.508554, 288.282745);
ApplyActorAnimation(Grove1, "RAPPING", "RAP_C_Loop", 4.1, 1, 0, 0, 0, 0); // crossarms 2
Grove2 = CreateActor(106, 2485.615478, -1685.804687, 13.509647, 26.315229);
ApplyActorAnimation(Grove2, "GANGS", "prtial_gngtlkF", 4.1, 1, 0, 0, 0, 0); // chat 2
Grove3 = CreateActor(107, 2485.893554, -1684.786865, 13.506622, 110.853370);
ApplyActorAnimation(Grove3, "GANGS", "prtial_gngtlkB", 4.1, 1, 0, 0, 0, 0); // chat 2
Grove4 = CreateActor(293, 2485.031005, -1684.281982, 13.505460, 201.741760);
ApplyActorAnimation(Grove4, "RAPPING", "RAP_A_Loop", 4.1, 1, 0, 0, 0, 0); // chat 2
Ryder = CreateActor(271, 2477.548095, -1687.614990, 13.507812, 351.197601);
ApplyActorAnimation(Ryder, "SMOKING", "M_smklean_loop", 4.1, 1, 0, 0, 0, 0); // smoke 2
Smoke = CreateActor(269, 2478.449218, -1687.672973, 13.507812, 354.261810);
ApplyActorAnimation(Smoke, "SMOKING", "M_smklean_loop", 4.1, 1, 0, 0, 0, 0); // smoke 2