- 0
bug poarta
-
Similar Content
-
- 3 replies
- 259 views
-
- 10 replies
- 825 views
-
- 2 answers
- 316 views
-
- 1 reply
- 157 views
-
- 2 replies
- 418 views
-
-
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
AlexXD
am problema cu o poarta se deschide totul perfect dar nu se mai inchide dupa cele 5 secunde
[pawn]forward tccgateclose();[/pawn]
[pawn]new gatetcc;[/pawn]
[pawn]public tccgateclose()
{
MoveDynamicObject(gatetcc, 870.4600, -1159.3400, 19.9571, 3.0);
return 1;
}[/pawn]
[pawn]if (newkeys==KEY_FIRE)
{
if(PlayerInfo[playerid][pMembruu] == 17 || PlayerInfo[playerid][pLiderr] == 17)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(5, playerid,870.4600, -1159.3400, 24.9500))
{
MoveDynamicObject(gatetcc, 870.4600, -1159.3400, 19.9571, 3.0);
SendClientMessage(playerid, 0x00FFFFFF, "*Ai deschis poarta pentru 5 secunde.");
SetTimer("tccgateclose",5000, false);
return 1;
}
}
}
}[/pawn]
[pawn]gatetcc = CreateDynamicObject(980, 870.46, -1159.34, 24.95, 0.00, 0.00, 0.00);[/pawn]
Uite aici si coodonatele porti :
Deschisa [pawn]870.4600, -1159.3400, 19.3016[/pawn]
Inchisa [pawn]870.4600, -1159.3400, 24.9604[/pawn]
Link to comment
Share on other sites
5 answers to this question
Recommended Posts