- 0
Problema Gate
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Scott_Williams
Salut am incercat sa creez gate cu comanda dar comanda nu merge. Nu cred ca e bine MoveObject ca am pus de la alt gm ca nu am stiut sa pun eu coord. Va rog ajutatima si lamuritima cum sa fac gate cu comanda care sa mearga multumesc . Asta e gate:
#include <a_samp> new gate; public OnFilterScriptInit() { CreateObject(976, 1544.945313, -1630.798462, 12.697852, 0.0000, 0.0000, 90.0000); CreateObject(983, 1544.905762, -1618.998047, 13.238116, 0.0000, 0.0000, 0.0000); CreateObject(983, 1544.604614, -1634.491943, 13.237661, 0.0000, 0.0000, 0.0000); } main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Blank Script"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/opengate", true) == 0) { MoveObject(gate, 1598.268677, -1638.331177, 13.752552, 2); return 1; } if(strcmp(cmdtext, "close", true) ==0) { MoveObject(gate, 1544.945313, -1630.798462, 12.697852); return 1; } }8 answers to this question
Recommended Posts