- 0
Problema la inchiderea portii
-
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
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 ????
3 answers to this question
Recommended Posts