- 0
Problema Script
-
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
Guest alexura12
Deci am pus urmatoare comanda,si va rog sa imi spuneti cum fac sa se inchida automat gate, am incercat de mai multe ori si nu merge si inca ceva, cum sa pun ca sa numai cei din factiunea respectiva sa poate sa deschida gate.
new mygate;
mygate=CreateObject(971, -2242.361328, 643.135803, 51.993179, 0.0000, 0.0000, 269.9999);
{
if (strcmp("/gate", cmdtext, true, 10) == 0)
{
MoveObject(mygate, -2242.358643, 644.206421, 59.069702, 0.0000, 3.0);
SendClientMessage(playerid, 0xFFFFFF, "The gate is opening");
return 1;
}
if (strcmp("/gateclose", cmdtext, true, 10) == 0)
{
MoveObject(mygate,-2242.361328, 643.135803, 51.993179, 3.0);
SendClientMessage(playerid, 0xFFFFFF, "The gate is closing");
return 1;
}
return 0;
}
5 answers to this question
Recommended Posts