Majky47 0 Odesláno: 29. Září, 2012 Share Odesláno: 29. Září, 2012 Zdravim Pomozte mi robim si FS a potrebujem move object ktory pojde do zeme cely. Tu prilozim odkaz ci to je dobre: new obj; // Somewhere at the top of your script obj = CreateObject(2957, -1424.5999755859, -957.09997558594, 201.5, 0, 0, 90); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/x1", true) == 0) { new string[50]; new movetime = MoveObject(obj, 0, 0, 10, 2.00); format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime); SendClientMessage(playerid, 0xFF000000, string); return 1; obj = CreateObject(2957, -1424.5999755859, -957.09997558594, 201.5, 0, 0, 90); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/x2", true) == 0) { new string[50]; new movetime = MoveObject(obj, 0, 0, 10, 2.00); format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime); SendClientMessage(playerid, 0xFF000000, string); return 1; obj = CreateObject(971, -1411.1999511719, -968.40002441406, 202.60000610352, 0, 2, 272); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/x", true) == 0) { new string[50]; new movetime = MoveObject(obj, 0, 0, 10, 2.00); format(string, sizeof(string), "Object will finish moving in %d milliseconds", movetime); SendClientMessage(playerid, 0xFF000000, string); return 1; return 0; Link to comment Share on other sites More sharing options...
Dotaz
Majky47 0
Zdravim
Pomozte mi robim si FS a potrebujem move object ktory pojde do zeme cely.
Tu prilozim odkaz ci to je dobre:
Link to comment
Share on other sites
0 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now