- 0
Problema la inchiderea portii
-
Similar Content
-
- 0 replies
- 36 views
-
- 1 answer
- 105 views
-
- 3 replies
- 295 views
-
- 1 reply
- 325 views
-
- 1 answer
- 183 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Gabster4Ever
am un pwn la o poarta si nush de ce nu se inchide zice ce in 5 sec poarta se inchide dar nu merge uitati ..........
/*
[FS] By HsY
*/
#include <a_samp>
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_BLUE 0x2641FEAA
#define FILTERSCRIPT
forward GateClose();
new poarta;
public OnFilterScriptInit()
{
poarta = CreateObject(975, 1529.6015625, -1685.9583740234, 14.057502746582, 0, 0, 0);
print("\n--------------------------------------");
print(" Poarta [FS] ");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/poartals", true)==0)
{
MoveObject(poarta, 1539.8341064453, -1686.0211181641, 14.224103927612, 5.5);
SetTimer("GateClose", 2000, 0);
SendClientMessage(playerid, COLOR_YELLOW,"Ai platit intrarea pentru 100$! In 5 secunde Poarta se va inchide");
GivePlayerMoney(playerid,-100);
return 1;
}
return 0;
}
public GateClose()
{
MoveObject (poarta,1539.8341064453, -1686.0211181641, 14.224103927612, 2.5);
return 1;
}
Am uitat ceva sau ce are ????
Link to comment
Share on other sites
3 answers to this question
Recommended Posts