Some Bug?!?
#1

Hey Guys,
I mapped some things and added gates and stuff...But the prob is gates dont work... They open and close alright but when you open them they turn a 180* Angle and stay like that even after closing... They lose there original place ?
They work fine on my test server...But not on my friend's server host... And i have tryied that on someone's computer with teamviewer that ALSO has the same prob! Am i missing something?
Reply
#2

thats coz, u dont make it go back, use MoveObject and give the cords of the original position and it will come back..
Reply
#3

Codes:
Код:
new Airport_gate;
Airport_gate = CreateObject(980, 2891.00000000, -307.00000000, 16.60000038, 0.00000000, 0.00000000, 104.99996948);
	return 1;
	}
CMD:openair(playerid, params[])
{
	MoveObject(Airport_gate, 2891.00000000, -307.00000000, 11.10000038, 3.5);
	SendClientMessage(playerid, COLOR_YELLOW, "Gate Opened!");
	return 1;
}
CMD:closeair(playerid, params[])
{
	MoveObject(Airport_gate, 2891.00000000, -307.00000000, 16.60000038, 3.5);
	SendClientMessage(playerid, COLOR_YELLOW, "Gate Closed!");
	return 1;
}
Reply
#4

You're likely using outdated plugins (pre-0.3d) either in your server includes or your streamer. Object rotation was added to MoveObject in 0.3d and if you compile with old includes the rotation will be reset to 0, 0, 0.
Reply
#5

No i have SScanf 2.6 and Streamer 2.5.2
Reply
#6

You need to update the streamer then. 2.6 is the latest.

(+ how is sscanf relevant..?).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)