- 0
Va rog ajutati-ma
-
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
Cuzman
Va rog ajutatima sa imi creez o comanda pentru deschiderea unei porti la comanda, stiu sa creez comanda dar nu stiu sa ii pun conditia ca doar cei din factiunea "x" sa o deschida... :| . Va rog daca puteti sa ma ajutati.
Aici am comanda:
if(strcmp(cmdtext, "/closeopen", true) == 0) // In loc de comanda adaugati comanda de inchidere
{
MoveObject(aGate, 619.32928, -602.65906, 17.34110, 3.0);
SendClientMessage(playerid, COLOR_BLUE , "Poarta a fost inchisa."); //Modificati textul care sa apara dupa placul vostru
return 1;
}
if(strcmp(cmdtext, "/gateopen", true) == 0) //In loc de comanda2 adaugati comanda de deschidere
{
MoveObject(aGate,619.56470, -609.34766, 17.34110, 3.0);
SendClientMessage(playerid, COLOR_BLUE , "Poarta a fost deschisa."); //Modificati textul care sa apara dupa placul vostru
return 1;
}
2 answers to this question
Recommended Posts