pickup not showing
#1

same as my toll, my pickup doesnt show, but sometimes when i restart my server, i can see it only for 2 seconds, i dunno how to fix it
Код:
// Area 51 Toll
// Mapped by Lanzmeister
// Scripted by Tom.1412
// Don't remove credits
#include <a_samp>
#define FILTERSCRIPT
#if defined FILTERSCRIPT
#endif
new Gate;
new Gatepick;
public OnFilterScriptInit()
{
	print("\n--------------------------------------");
	print("  Bridge Toll ");
	print(" Mapped & Scripted by KissOfDeath ");
	print(" Tested By Kyle ");
	print(" Don't remove credits ");
	print("--------------------------------------\n");
	CreateObject(3881, 63.633956, -1533.029418, 5.795578, 0.000000, 0.000000, 260.000000);
	CreateObject(984, 53.772052, -1534.311401, 4.794958, 0.000000, 0.000000, 83.000000);
	CreateObject(3881, 39.065982, -1530.223388, 6.007297, 0.000000, 0.000000, 80.000000);
	CreateObject(984, 48.075714, -1533.556274, 4.737607, 0.000000, 0.000000, 83.000000);
	CreateObject(984, 54.540885, -1529.424560, 4.855791, 0.000000, 0.000000, 82.000000);
	CreateObject(984, 48.902339, -1528.608276, 4.921133, 0.000000, 0.000000, 81.000000);
	CreateObject(2921, 64.125015, -1530.885498, 7.080554, 0.000000, 0.000000, 230.000000);
	CreateObject(2921, 36.825981, -1532.045288, 7.252584, 0.000000, 0.000000, 50.000000);
	CreateObject(9833, 49.918548, -1531.509277, 5.316796, 0.000000, 0.000000, 0.000000);
	CreateObject(1215, 36.236274, -1532.160644, 5.022241, 0.000000, 0.000000, 0.000000);
	CreateObject(997, 35.790390, -1542.055297, 4.235725, 0.000000, 0.000000, 90.000000);
	CreateObject(997, 35.742259, -1543.203247, 4.249802, 0.000000, 0.000000, 90.000000);
	CreateObject(997, 35.790420, -1542.029174, 4.950067, 0.000000, 0.000000, 90.000000);
	CreateObject(997, 35.851589, -1543.205566, 4.947018, 0.000000, 0.000000, 90.000000);
	Gate = CreateObject(968, 36.334384, -1531.915771, 5.162815, 0.000000, -90.000000, 86.000000);
	Gatepick = CreatePickup(1318, 14, 32.1509,-1535.6411,5.0823, -1);
	return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == Gatepick) SetTimer("Gateopen1", 0, false);
	return 1;
}

forward Gateopen1();
public Gateopen1()
{
    DestroyObject(Gate);
	Gate = CreateObject(968, 36.334384, -1531.915771, 5.162815, 0.000000, -90.000000, 86.000000);
	SetTimer("Gateopen2", 500, false);
	return 1;
}

forward Gateopen2();
public Gateopen2()
{
    DestroyObject(Gate);
	Gate = CreateObject(968, 36.334384, -1531.915771, 5.562815, 0.000000, -72.000000, 92.000000);
	SetTimer("Gateopen3", 500, false);
	return 1;
}

forward Gateopen3();
public Gateopen3()
{
    DestroyObject(Gate);
	Gate = CreateObject(968, 36.334384, -1531.915771, 5.562815, 0.000000, -68.000000, 92.000000);
	SetTimer("Gateclose1", 3000, false);
	return 1;
}

forward Gateclose1();
public Gateclose1()
{
    DestroyObject(Gate);
	Gate = CreateObject(968, 36.334384, -1531.915771, 5.562815, 0.000000, -68.000000, 92.000000);
	SetTimer("Gateclose2", 500, false);
	return 1;
}

forward Gateclose2();
public Gateclose2()
{
    DestroyObject(Gate);
	Gate = CreateObject(968, 36.334384, -1531.915771, 5.562815, 0.000000, -72.000000, 92.000000);
	SetTimer("Gateclose3", 500, false);
	return 1;
}

forward Gateclose3();
public Gateclose3()
{
    DestroyObject(Gate);
	Gate = CreateObject(968, 36.334384, -1531.915771, 5.162815, 0.000000, -90.000000, 86.0000);
	Gatepick = CreatePickup(1318, 14, 32.1509,-1535.6411,5.0823, -1);
	return 1;
}
Reply


Messages In This Thread
pickup not showing - by KissOfDeath - 11.11.2011, 07:04
Re: pickup not showing - by Stigg - 11.11.2011, 10:06

Forum Jump:


Users browsing this thread: 1 Guest(s)