[Map] HQ of a criminal group
#3

pawn Код:
new portaomafia;
Then trade:
pawn Код:
CreateObject(987,2254.30004883,-2618.50000000,8.00000000,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (1)
for
pawn Код:
mafiagate = CreateObject(987,2254.30004883,-2618.50000000,8.00000000,0.00000000,0.00000000,180.00000000); //object(elecfence_bar) (1)
pawn Код:
forward timergate();
public timergate()
{
    MoveObject(mafiagate,2254.30004883,-2618.50000000,8.00000000,2);
}
pawn Код:
if (strcmp(cmd, "/opengate", true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid, 2,2254.30004883,-2618.50000000,8.00000000))
        {
            MoveObject(mafiagate,2254.30004883,-2618.50000000,2.5, 2);
            SetTimer("timergate", 15000, 0);
            SendClientMessage(playerid, COLOR_GROVE,"You've opened the gate of the Mafia's HQ, it'll close in 15 seconds.");
            return 1;
        }
Reply


Messages In This Thread
HQ of a criminal group - by LeMoi - 02.08.2012, 23:41
Re: HQ of a criminal group - by NesQ - 24.12.2012, 11:13
Re: HQ of a criminal group - by LeMoi - 24.12.2012, 11:17

Forum Jump:


Users browsing this thread: 1 Guest(s)