Help me with this :D IF YOU NOW PLSS
#3

Enjoy:

pawn Код:
#include <a_samp>

new lspdg;
new pdgate1;

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
pdgate1 = CreateObject(968,1544.6992188,-1623.8994141,13.0000000,0.0000000,88.0000000,265.9982300); //object(barrierturn) (PD Kapija Zatvorena)
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/po", cmdtext, true, 10) == 0)
{
new pdkapijaot;
if(IsPlayerInRangeOfPoint(playerid, 15,1544.5923,-1627.1566,13.382))
{
if(lspdg == 1) { SendClientMessage(playerid, 0xFF000000, "** Vrata vec otvorena"); return 1; }
MoveObject(pdgate1,1544.6992188,-1623.8994141,13.0000000, 0);
SendClientMessage(playerid, 0xFF000000,"Vrata na garazi otvorena,nakon 7 sekundi automatski ce se spustiti .");
SendClientMessage(playerid, 0xFF000000,"Kapija Otvorena");
SetTimer("pdkapijaot", 12000, 0);
pdkapijaot = MoveObject(pdgate1, 1544.6992188,-1623.8994141,13.0000000,1.0,0.0000000,88.0000000,265.9982300);
ShowPlayerDialog(playerid, pdkapijaot, DIALOG_STYLE_MSGBOX, "Uspesno", "Uspesno ste otvorili kapiju", "Ok", "Ok");
}
return 1;
}
return 0;
}
Had missing ) and ;
Reply


Messages In This Thread
Help me with this :D IF YOU NOW PLSS - by acajoksa - 22.02.2013, 16:08
Re: Help me with this :D IF YOU NOW PLSS - by SilverKiller - 22.02.2013, 16:09
Re: Help me with this :D IF YOU NOW PLSS - by PaulDinam - 22.02.2013, 16:10
Re: Help me with this :D IF YOU NOW PLSS - by acajoksa - 22.02.2013, 16:12

Forum Jump:


Users browsing this thread: 1 Guest(s)