SA-MP Forums

Go Back   SA-MP Forums > SA-MP Server > Server Support

Reply
 
Thread Tools Display Modes
Old 16/09/2015, 08:14 PM   #1
Julien Sirasor
Little Clucker
 
Julien Sirasor's Avatar
 
Join Date: Oct 2011
Location: In Raphy ass
Posts: 11
Reputation: 10
Default Problem with actor

Hello,
I installed the actors on my server, but there is a problem. There are some players who come to see the bot to their proper positions, but there are some who see the shift from 5 to see 10 meters.



At each reboot or / reco player, the actor is at good place for some players and for others they are like on the screen above.
This problem is all over my actors, I do not know, or can be the problem.

Here is the code of actors:

Code:
new botpetrolier,botelectrique,botbucheron,botsweeper,botpizzaboy,botlivreur,botmecanicien,botvendeurjournal, botconcession;

	///////////////////////////////////ACTORS//////////////////////////////////////
	botpetrolier = CreateActor(25,621.8969,1223.7075,11.7188,131.7067);
	botelectrique = CreateActor(25,-135.1517,1116.5573,20.1966,87.2855);
	botbucheron = CreateActor(25,-167.9725,1032.5394,19.7344,202.8242);
	botsweeper = CreateActor(25,-161.3098,1128.5490,19.7422,232.3638);
	botpizzaboy = CreateActor(25,170.8960,1179.5873,14.7578,117.6830);
	botlivreur = CreateActor(25,170.8960,1179.5873,14.7578,117.6830);
	botmecanicien = CreateActor(25,-116.7032,1132.9954,19.7422,356.8212);
	botvendeurjournal = CreateActor(25,-144.9543,1078.8481,20.4922,78.8134);
	botconcession = CreateActor(25,12.7649,1179.4918,19.4445,176.6357);
	ApplyActorAnimation(botpetrolier, "PED", "IDLE_CHAT", 4.1, 1, 0, 0, 0, 0);
	ApplyActorAnimation(botelectrique, "PED", "IDLE_CHAT", 4.1, 1, 0, 0, 0, 0);
	ApplyActorAnimation(botbucheron, "PED", "IDLE_CHAT", 4.1, 1, 0, 0, 0, 0);
	ApplyActorAnimation(botsweeper, "PED", "IDLE_CHAT", 4.1, 1, 0, 0, 0, 0);
	ApplyActorAnimation(botpizzaboy, "PED", "IDLE_CHAT", 4.1, 1, 0, 0, 0, 0);
	ApplyActorAnimation(botlivreur, "PED", "IDLE_CHAT", 4.1, 1, 0, 0, 0, 0);
	ApplyActorAnimation(botmecanicien, "PED", "IDLE_CHAT", 4.1, 1, 0, 0, 0, 0);
	ApplyActorAnimation(botvendeurjournal, "PED", "IDLE_CHAT", 4.1, 1, 0, 0, 0, 0);
	ApplyActorAnimation(botconcession, "PED", "IDLE_CHAT", 4.1, 1, 0, 0, 0, 0);
	///////////////////////////////////////////////////////////////////////////////
I make printf and the result is:

Quote:
[22:11:32] Number of vehicle models: 60
[22:11:45] [connection] **.***.**.**:52372 requests connection cookie.
[22:11:46] [connection] incoming connection: **.***.**.**:52372 id: 0
[22:11:46] [join] Derek_Truemman has joined the server (0:**.***.**.**)
[22:11:51] Acteur : 1, PlayerID : 0, Position : -135.151702, 1116.557250, 20.196599
[22:11:51] Acteur : 2, PlayerID : 0, Position : -167.972503, 1032.539428, 19.734399
[22:11:51] Acteur : 3, PlayerID : 0, Position : -161.309799, 1128.548950, 19.742200
[22:11:51] Acteur : 6, PlayerID : 0, Position : -116.703201, 1132.995361, 19.742200
[22:11:51] Acteur : 7, PlayerID : 0, Position : -144.954299, 1078.848144, 20.492200
[22:11:51] [connection] **.***.**.**:64909 requests connection cookie.
[22:11:52] [connection] incoming connection: **.***.**.**:64909 id: 1
[22:11:52] [join] Julien_Sirasor has joined the server
[22:11:54] Acteur : 1, PlayerID : 1, Position : -135.151702, 1116.557250, 20.196599
[22:11:54] Acteur : 2, PlayerID : 1, Position : -167.972503, 1032.539428, 19.734399
[22:11:54] Acteur : 3, PlayerID : 1, Position : -161.309799, 1128.548950, 19.742200
[22:11:54] Acteur : 6, PlayerID : 1, Position : -116.703201, 1132.995361, 19.742200
[22:11:54] Acteur : 7, PlayerID : 1, Position : -144.954299, 1078.848144, 20.492200
[22:11:57] Acteur : 8, PlayerID : 0, Position : 12.764900, 1179.491821, 19.444499
[22:12:02] [connection] **.***.**.**:61115 requests connection cookie.
[22:12:03] [connection] incoming connection: **.***.**.**:61115 id: 2
[22:12:04] [join] Kane_Caponi has joined the server
[22:12:06] Acteur : 4, PlayerID : 0, Position : 170.895996, 1179.587280, 14.757800
[22:12:06] Acteur : 5, PlayerID : 0, Position : 170.895996, 1179.587280, 14.757800
[22:12:09] Acteur : 1, PlayerID : 2, Position : -135.151702, 1116.557250, 20.196599
[22:12:09] Acteur : 2, PlayerID : 2, Position : -167.972503, 1032.539428, 19.734399
[22:12:09] Acteur : 3, PlayerID : 2, Position : -161.309799, 1128.548950, 19.742200
[22:12:09] Acteur : 6, PlayerID : 2, Position : -116.703201, 1132.995361, 19.742200
[22:12:09] Acteur : 7, PlayerID : 2, Position : -144.954299, 1078.848144, 20.492200
[22:12:11] Acteur : 1, PlayerID : 1, Position : -135.151702, 1116.557250, 20.196599
[22:12:11] Acteur : 2, PlayerID : 1, Position : -167.972503, 1032.539428, 19.734399
[22:12:11] Acteur : 3, PlayerID : 1, Position : -161.309799, 1128.548950, 19.742200
[22:12:11] Acteur : 6, PlayerID : 1, Position : -116.703201, 1132.995361, 19.742200
[22:12:11] Acteur : 7, PlayerID : 1, Position : -144.954299, 1078.848144, 20.492200
[22:12:13] Acteur : 8, PlayerID : 2, Position : 12.764900, 1179.491821, 19.444499
[22:12:15] Acteur : 8, PlayerID : 1, Position : 12.764900, 1179.491821, 19.444499
Thank you in advance.

Last edited by Julien Sirasor; 17/09/2015 at 02:20 PM.
Julien Sirasor is offline   Reply With Quote
Old 16/09/2015, 08:18 PM   #2
Skinnz
Big Clucker
 
Skinnz's Avatar
 
Join Date: Nov 2012
Location: GetPlayerPos(me,x,y,z);
Posts: 75
Reputation: 3
Default Re : Problem with actors

I have the same problem
__________________

Tellement d'oseille ša sent la franc mašonnerie.
Skinnz is offline   Reply With Quote
Old 17/09/2015, 04:40 PM   #3
Julien Sirasor
Little Clucker
 
Julien Sirasor's Avatar
 
Join Date: Oct 2011
Location: In Raphy ass
Posts: 11
Reputation: 10
Default Re : Problem with actors

Up Up
Julien Sirasor is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Tutorial] Actors!(0.3.7 RC6) Abagail Tutorials 31 25/06/2018 07:33 PM
Actors problem AndreiWow Scripting Help 3 04/09/2015 05:04 PM
Problem Actors norton2 Scripting Help 3 15/05/2015 07:57 AM
Actors norton2 Scripting Help 2 09/05/2015 02:42 PM


All times are GMT. The time now is 03:15 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.