All pastes #978251 Raw Edit

Meldariel

public cpp v1 · immutable
·published 2008-04-09 12:41 UTC
rendered paste body
#include <a_samp>// FOR SNOOPnew door_snoop1;new door_snoop2;new door_snoop3;new door_snoop4;new door_snoop5;new door_snoop6public OnGameModeInit();{	// 1+2 = zu den Booten 3+4 = Garage 4+5 Front	door_snoop1 = CreateObject(988, -659.257751, 918.402771, 12.091385, 0.0000, 0.0000, 45.0000);	door_snoop2 = CreateObject(988, -655.407593, 922.401733, 12.210268, 0.0000, 0.0000, 45.0000);	door_snoop3 = CreateObject(974, -693.526978, 964.037720, 14.014457, 0.0000, 0.0000, 270.0000);    door_snoop4 = CreateObject(974, -693.525391, 967.414978, 14.014433, 0.0000, 0.0000, 270.0000);    door_snoop5 = CreateObject(985, -717.984741, 967.299744, 11.618500, 0.0000, 0.0000, 90.0000);    door_snoop6 = CreateObject(986, -718.019165, 959.343872, 11.668487, 0.0000, 0.0000, 90.0000);	// Zaun millitär - Snoops Haus    CreateObject(987, -718.730469, 911.234619, 11.161940, 0.0000, 0.0000, 90.0000);    CreateObject(987, -718.675293, 923.215881, 11.123178, 0.0000, 0.0000, 90.0000);    CreateObject(987, -718.689453, 935.129150, 11.132813, 0.0000, 0.0000, 90.0000);    CreateObject(987, -718.672607, 947.099548, 11.168896, 0.0000, 0.0000, 90.0000);    CreateObject(987, -717.683228, 968.217773, 11.132812, 0.0000, 0.0000, 90.0000);    CreateObject(987, -717.857239, 980.029297, 11.132813, 0.0000, 0.0000, 90.0000);    CreateObject(987, -717.702942, 992.013489, 11.132813, 0.0000, 0.0000, 0.0000);    CreateObject(987, -705.712402, 991.999573, 11.089684, 0.0000, 0.0000, 0.0000);    CreateObject(987, -693.787537, 992.036377, 11.115012, 0.0000, 0.0000, 0.0000);    CreateObject(987, -669.854309, 992.036743, 11.126163, 0.0000, 0.0000, 0.0000);    CreateObject(987, -681.844604, 992.016235, 11.126163, 0.0000, 0.0000, 0.0000);    CreateObject(987, -657.880798, 992.032349, 11.132813, 0.0000, 0.0000, 0.0000);    CreateObject(987, -645.722656, 991.954895, 11.132813, 0.0000, 0.0000, 270.0000);    CreateObject(987, -645.739868, 979.954590, 11.132813, 0.0000, 0.0000, 270.0000);    CreateObject(987, -645.770569, 968.142761, 11.128725, 0.0000, 0.0000, 270.0000);    CreateObject(987, -645.830505, 956.196960, 11.132813, 0.0000, 0.0000, 270.0000);    CreateObject(987, -645.860168, 944.266907, 11.132813, 0.0000, 0.0000, 270.0000);    CreateObject(987, -645.837524, 932.192261, 11.063906, 0.0000, 0.0000, 225.0000);    CreateObject(987, -661.088318, 917.513550, 11.044244, 0.0000, 0.0000, 225.0000);    CreateObject(987, -669.664063, 909.053101, 11.132813, 0.0000, 0.0000, 180.0000);    CreateObject(987, -681.852173, 909.141418, 10.997961, 0.0000, 0.0000, 180.0000);    CreateObject(987, -693.793396, 908.935486, 11.146573, 0.0000, 0.0000, 180.0000);    CreateObject(987, -705.816772, 908.893311, 11.131480, 0.0000, 0.0000, 180.0000);    CreateObject(987, -707.776245, 908.939087, 11.127843, 0.0000, 0.0000, 180.0000);    CreateObject(987, -718.803223, 908.968079, 11.289204, 0.0000, 0.0000, 90.0000);    CreateObject(974, -670.265747, 967.099548, 13.910553, 0.0000, 0.0000, 90.0000);	return 1;		public OnPlayerCommandText(playerid, cmdtext[]){	if (strcmp(cmdtext, "/OPEN", true)==0)	{	MoveObject(door_snoop1, -657.291748, 920.477234, 6.641264,2);	MoveObject(door_snoop2, -657.291748, 920.477234, 6.641264,2); 	return 1;	}	if (strcmp(cmdtext, "/CLOSE", true)==0)	{	MoveObject(door_snoop1,-659.257751, 918.402771, 12.091385,2);	MoveObject(door_snoop2,-655.407593, 922.401733, 12.210268,2); 	return 1;	}			if (strcmp(cmdtext, "/OPEN", true)==0)	{	MoveObject(door_snoop3,-693.507813, 966.036133, 8.066919,2);	MoveObject(door_snoop4,-693.507813, 966.036133, 8.066919,2); 	return 1;	}	if (strcmp(cmdtext, "/CLOSE", true)==0)	{	MoveObject(door_snoop3,-693.526978, 964.037720, 14.014457,2);	MoveObject(door_snoop4,-693.525391, 967.414978, 14.014433,2); 	return 1;	}			if (strcmp(cmdtext, "/OPEN", true)==0)	{	MoveObject(door_snoop5,-718.049072, 959.408691, 5.468515,2);	MoveObject(door_snoop6,-717.973877, 967.421082, 5.352820,2); 	return 1;	}	if (strcmp(cmdtext, "/CLOSE", true)==0)	{	MoveObject(door_snoop5,-717.984741, 967.299744, 11.618500,2);	MoveObject(door_snoop6,-718.019165, 959.343872, 11.668487,2); 	return 1;	}		return 0;}