- 0
Problema Script
-
Similar Content
-
- 0 answers
- 45 views
-
- 0 replies
- 145 views
-
- 1 answer
- 342 views
-
- 6 replies
- 329 views
-
- 4 replies
- 284 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
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