#1

Can someone fix this ?

http://pastebin.com/ruHmngwk
Reply
#2

Here it is!
Код:
#include <a_samp>

#define COLOR_RED 0xAA3333AA

forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);

public OnPlayerCommandText(playerid, cmdtext[])
{
	new cmd[256];

	if(strcmp(cmd, "/WWE", true) == 0)
	{
		if (PlayerToPoint(5.0, playerid,-1783.1105,572.3606,35.1641))// Droga
		{
          SendClientMessage(playerid, COLOR_RED,"Welcom wwe Stadium...");
          SetPlayerPos(playerid,-1803.8461,575.8958,234.8906);
		}
    return 1;
	}
	if(strcmp(cmdtext, "/wweskin", true) == 0) {
		SendClientMessage(playerid, COLOR_RED,"/undertaker /mvp /cena /hardy /umaga /ricflair /edge ");
		SendClientMessage(playerid, COLOR_RED,"/deuce /domino /Mcmahon/markhenry /floyd");
		SendClientMessage(playerid, COLOR_RED,"Girls");
        SendClientMessage(playerid, COLOR_RED,"/Maria");
		return 1;
	}
	if(strcmp(cmdtext, "/undertaker", true) == 0) {
	SetPlayerSkin(playerid,33);
	return 1;
	}
	if(strcmp(cmdtext, "/Mcmahon", true) == 0) {
	SetPlayerSkin(playerid,122);
	return 1;
	}
	if(strcmp(cmdtext, "/mvp", true) == 0) {
	SetPlayerSkin(playerid,176);
	return 1;
	}
	if(strcmp(cmdtext, "/cena", true) == 0) {
	SetPlayerSkin(playerid,81);
	return 1;
	}
	if(strcmp(cmdtext, "/hardy", true) == 0) {
	SetPlayerSkin(playerid,101);
	return 1;
	}
	if(strcmp(cmdtext, "/umaga", true) == 0) {
	SetPlayerSkin(playerid,242);
	return 1;
	}
	if(strcmp(cmdtext, "/ricflair", true) == 0) {
	SetPlayerSkin(playerid,249);
	return 1;
	}
	if(strcmp(cmdtext, "/edge", true) == 0) {
	SetPlayerSkin(playerid,97);
	return 1;
	}
	if(strcmp(cmdtext, "/deuce", true) == 0) {
	SetPlayerSkin(playerid,82);
	return 1;
	}
	if(strcmp(cmdtext, "/domino", true) == 0) {
	SetPlayerSkin(playerid,83);
	return 1;
	}
	if(strcmp(cmdtext, "/markhenry", true) == 0) {
	SetPlayerSkin(playerid,241);
	return 1;
	}
	if(strcmp(cmdtext, "/floyd", true) == 0) {
	SetPlayerSkin(playerid,80);
	return 1;
	}
  if(strcmp(cmdtext, "/Maria", true) == 0) {
	SetPlayerSkin(playerid,90);
	return 1;
	}
	return 0;
}

public OnFilterScriptInit()
{
	AddStaticPickup(1239 ,99999999999999999,-1783.1105,572.3606,35.1641);  // Business Bomberos
	CreateObject(974,-1774.906,582.328,236.665,0.0,0.0,0.0); // object
	CreateObject(974,-1781.538,582.360,236.668,0.0,0.0,0.0); // object (1)
	CreateObject(974,-1788.184,582.348,236.668,0.0,0.0,0.0); // object (2)
	CreateObject(974,-1794.804,582.348,236.668,0.0,0.0,0.0); // object (3)
	CreateObject(974,-1801.401,582.375,236.668,0.0,0.0,0.0); // object (4)
	CreateObject(974,-1808.067,582.393,236.668,0.0,0.0,0.0); // object (5)
	CreateObject(974,-1814.722,582.414,236.668,0.0,0.0,0.0); // object (6)
	CreateObject(974,-1821.334,582.439,236.668,0.0,0.0,0.0); // object (7)
	CreateObject(974,-1827.996,582.458,236.668,0.0,0.0,0.0); // object (8)
	CreateObject(974,-1834.649,582.436,236.668,0.0,0.0,0.0); // object (9)
	CreateObject(974,-1840.173,582.478,236.665,0.0,0.0,0.0); // object (10)
	CreateObject(974,-1810.944,519.624,236.665,0.0,0.0,-58.828); // object (11)
	CreateObject(974,-1814.395,525.311,236.665,0.0,0.0,-58.828); // object (12)
	CreateObject(974,-1817.780,530.993,236.665,0.0,0.0,-59.688); // object (13)
	CreateObject(974,-1821.112,536.605,236.665,0.0,0.0,-59.688); // object (14)
	CreateObject(974,-1824.499,542.296,236.665,0.0,0.0,-59.688); // object (15)
	CreateObject(974,-1827.690,547.951,236.665,0.0,0.0,-59.688); // object (16)
	CreateObject(974,-1830.834,553.649,236.665,0.0,0.0,-59.688); // object (17)
	CreateObject(974,-1834.118,559.409,236.665,0.0,0.0,-59.688); // object (18)
	CreateObject(974,-1837.370,564.930,236.665,0.0,0.0,-59.688); // object (19)
	CreateObject(974,-1840.692,570.588,236.665,0.0,0.0,-59.688); // object (20)
	CreateObject(974,-1843.774,575.915,236.665,0.0,0.0,-59.688); // object (21)
	CreateObject(974,-1802.330,519.145,236.668,0.0,0.0,-118.516); // object (22)
	CreateObject(974,-1799.168,524.890,236.665,0.0,0.0,-118.516); // object (23)
	CreateObject(974,-1796.508,529.511,236.665,0.0,0.0,-121.094); // object (24)
	CreateObject(974,-1793.383,534.776,236.665,0.0,0.0,-121.094); // object (25)
	CreateObject(974,-1790.096,540.356,236.665,0.0,0.0,-121.094); // object (26)
	CreateObject(974,-1786.928,545.766,236.665,0.0,0.0,-121.094); // object (27)
	CreateObject(974,-1783.795,550.964,236.665,0.0,0.0,-121.094); // object (28)
	CreateObject(974,-1780.476,556.510,236.665,0.0,0.0,-121.094); // object (29)
	CreateObject(974,-1777.126,562.100,236.665,0.0,0.0,-121.094); // object (30)
	CreateObject(974,-1773.744,567.743,236.665,0.0,0.0,-121.094); // object (31)
	CreateObject(974,-1771.302,571.703,236.665,0.0,0.0,-121.094); // object (32)
	CreateObject(974,-1769.646,574.434,236.688,0.0,0.0,-121.094); // object (33)
	CreateObject(4199,-1796.295,556.458,231.744,0.0,0.0,0.0); // object (37)
	CreateObject(4199,-1803.545,555.215,231.726,0.0,0.0,0.0); // object (38)
	CreateObject(4199,-1820.583,561.393,231.768,0.0,0.0,0.0); // object (39)
	CreateObject(4199,-1815.096,557.880,231.769,0.0,0.0,0.0); // object (40)
	CreateObject(4199,-1813.341,554.951,221.100,0.0,177.903,28.361); // object (41)
	CreateObject(4199,-1802.471,558.545,221.575,0.0,177.903,28.361); // object (43)
	CreateObject(4199,-1796.365,562.700,221.920,0.0,177.903,28.361); // object (44)
	CreateObject(16151,-1789.444,569.693,234.282,0.0,0.0,-157.500); // object (45)
	CreateObject(16152,-1777.826,581.323,233.883,0.0,0.0,-90.000); // object (46)
	CreateObject(1951,-1788.762,570.408,235.076,0.0,0.0,0.0); // object (47)
	CreateObject(1951,-1787.616,567.255,235.076,0.0,0.0,0.0); // object (49)
	CreateObject(1951,-1787.749,568.144,235.076,0.0,0.0,0.0); // object (50)
	CreateObject(1951,-1788.290,569.259,235.076,0.0,0.0,0.0); // object (51)
	CreateObject(1951,-1780.336,581.462,234.997,0.0,0.0,0.0); // object (52)
	CreateObject(1951,-1777.965,581.275,234.997,0.0,0.0,0.0); // object (54)
	CreateObject(1951,-1775.438,581.548,234.997,0.0,0.0,0.0); // object (55)
	CreateObject(1951,-1773.261,581.402,234.997,0.0,0.0,0.0); // object (57)
	CreateObject(1665,-1788.536,569.970,234.923,0.0,0.0,0.0); // object (58)
	CreateObject(1547,-1775.497,581.044,234.811,0.0,0.0,0.0); // object (59)
	CreateObject(1545,-1775.652,582.336,235.628,0.0,0.0,0.0); // object (60)
	CreateObject(1545,-1773.233,582.336,235.950,0.0,0.0,0.0); // object (61)
	CreateObject(1545,-1778.022,582.336,235.615,0.0,0.0,0.0); // object (62)
	CreateObject(1545,-1780.415,582.367,235.349,0.0,0.0,0.0); // object (63)
	CreateObject(1510,-1777.882,582.012,234.821,0.0,0.0,0.0); // object (65)
	CreateObject(1510,-1775.513,582.083,234.821,0.0,0.0,0.0); // object (67)
	CreateObject(1510,-1773.206,582.008,234.821,0.0,0.0,0.0); // object (68)
	CreateObject(1510,-1780.264,581.904,234.821,0.0,0.0,0.0); // object (70)
	CreateObject(13667,-1789.365,569.866,339.349,0.0,0.0,39.534); // object (72)
	CreateObject(13562,-1769.123,579.863,241.455,0.0,0.0,0.0); // object (73)
	CreateObject(7073,-1806.322,516.665,259.282,0.0,0.0,90.000); // object (76)
	CreateObject(3877,-1843.071,582.121,242.680,0.0,0.0,0.0); // object (77)
	CreateObject(3877,-1771.072,582.694,242.681,0.0,0.0,0.0); // object (78)
	CreateObject(3877,-1809.114,516.080,242.681,0.0,0.0,0.0); // object (79)
	CreateObject(3528,-1792.220,567.437,244.142,0.0,0.0,-146.250); // object (81)
	CreateObject(3528,-1821.505,566.608,244.586,0.0,0.0,-45.000); // object (82)
	CreateObject(16782,-1770.474,580.030,236.186,0.0,0.0,-149.765); // object (83)
	CreateObject(918,-1790.621,570.305,234.262,0.0,0.0,0.0); // object (84)
	CreateObject(2600,-1845.184,577.502,241.788,0.0,0.0,-11.250); // object (86)
	CreateObject(3743,-1838.253,575.807,238.346,0.0,0.0,-123.750); // object (87)
	CreateObject(987,-1805.289,569.918,233.887,0.0,0.0,0.0); // object (88)
	CreateObject(987,-1820.575,569.958,233.887,0.0,0.0,0.0); // object (89)
	CreateObject(987,-1813.763,549.475,233.882,0.0,0.0,-239.688); // object (90)
	CreateObject(987,-1816.804,554.646,233.891,0.0,0.0,-239.688); // object (91)
	CreateObject(987,-1809.152,541.577,233.882,0.0,0.0,-239.688); // object (92)
	CreateObject(987,-1790.414,564.852,233.891,0.0,0.0,-479.375); // object (93)
	CreateObject(987,-1794.757,556.946,233.963,0.0,0.0,-479.375); // object (94)
	CreateObject(987,-1797.647,551.679,233.949,0.0,0.0,-479.375); // object (95)
	CreateObject(3819,-1800.944,567.037,234.855,0.0,-3.438,90.000); // object (96)
	CreateObject(3819,-1806.201,547.053,234.838,0.0,0.0,-90.000); // object (97)
	CreateObject(3819,-1812.934,567.448,234.880,0.0,0.0,-270.000); // object (98)
	CreateObject(3819,-1812.641,552.593,234.880,0.0,0.0,-150.547); // object (99)
	CreateObject(3819,-1800.181,552.768,234.855,0.0,0.0,-26.797); // object (100)
	CreateObject(14781,-1807.452,559.210,234.930,0.0,0.0,0.0); // object (101)
	CreateObject(1314,-1781.839,572.776,34.366,0.0,0.0,0.0); // object (105)
	CreateObject(1314,-1806.440,530.542,34.363,0.0,0.0,0.0); // object (106)
	CreateObject(1314,-1830.949,572.735,34.363,0.0,0.0,0.0); // object (107)
	return 1;
}

public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
	new Float:oldposx, Float:oldposy, Float:oldposz;
	new Float:tempposx, Float:tempposy, Float:tempposz;
	GetPlayerPos(playerid, oldposx, oldposy, oldposz);
	tempposx = (oldposx -x);
	tempposy = (oldposy -y);
	tempposz = (oldposz -z);
	if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
	{
		return 1;
	}
	return 0;
}
Reply
#3

Quote:
Originally Posted by GNoRbY88
Here it is!
Код:
#include <a_samp>

#define COLOR_RED 0xAA3333AA

forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);

public OnPlayerCommandText(playerid, cmdtext[])
{
	new cmd[256];

	if(strcmp(cmd, "/WWE", true) == 0)
	{
		if (PlayerToPoint(5.0, playerid,-1783.1105,572.3606,35.1641))// Droga
		{
          SendClientMessage(playerid, COLOR_RED,"Welcom wwe Stadium...");
          SetPlayerPos(playerid,-1803.8461,575.8958,234.8906);
		}
    return 1;
	}
	if(strcmp(cmdtext, "/wweskin", true) == 0) {
		SendClientMessage(playerid, COLOR_RED,"/undertaker /mvp /cena /hardy /umaga /ricflair /edge ");
		SendClientMessage(playerid, COLOR_RED,"/deuce /domino /Mcmahon/markhenry /floyd");
		SendClientMessage(playerid, COLOR_RED,"Girls");
        SendClientMessage(playerid, COLOR_RED,"/Maria");
		return 1;
	}
	if(strcmp(cmdtext, "/undertaker", true) == 0) {
	SetPlayerSkin(playerid,33);
	return 1;
	}
	if(strcmp(cmdtext, "/Mcmahon", true) == 0) {
	SetPlayerSkin(playerid,122);
	return 1;
	}
	if(strcmp(cmdtext, "/mvp", true) == 0) {
	SetPlayerSkin(playerid,176);
	return 1;
	}
	if(strcmp(cmdtext, "/cena", true) == 0) {
	SetPlayerSkin(playerid,81);
	return 1;
	}
	if(strcmp(cmdtext, "/hardy", true) == 0) {
	SetPlayerSkin(playerid,101);
	return 1;
	}
	if(strcmp(cmdtext, "/umaga", true) == 0) {
	SetPlayerSkin(playerid,242);
	return 1;
	}
	if(strcmp(cmdtext, "/ricflair", true) == 0) {
	SetPlayerSkin(playerid,249);
	return 1;
	}
	if(strcmp(cmdtext, "/edge", true) == 0) {
	SetPlayerSkin(playerid,97);
	return 1;
	}
	if(strcmp(cmdtext, "/deuce", true) == 0) {
	SetPlayerSkin(playerid,82);
	return 1;
	}
	if(strcmp(cmdtext, "/domino", true) == 0) {
	SetPlayerSkin(playerid,83);
	return 1;
	}
	if(strcmp(cmdtext, "/markhenry", true) == 0) {
	SetPlayerSkin(playerid,241);
	return 1;
	}
	if(strcmp(cmdtext, "/floyd", true) == 0) {
	SetPlayerSkin(playerid,80);
	return 1;
	}
  if(strcmp(cmdtext, "/Maria", true) == 0) {
	SetPlayerSkin(playerid,90);
	return 1;
	}
	return 0;
}

public OnFilterScriptInit()
{
	AddStaticPickup(1239 ,99999999999999999,-1783.1105,572.3606,35.1641);  // Business Bomberos
	CreateObject(974,-1774.906,582.328,236.665,0.0,0.0,0.0); // object
	CreateObject(974,-1781.538,582.360,236.668,0.0,0.0,0.0); // object (1)
	CreateObject(974,-1788.184,582.348,236.668,0.0,0.0,0.0); // object (2)
	CreateObject(974,-1794.804,582.348,236.668,0.0,0.0,0.0); // object (3)
	CreateObject(974,-1801.401,582.375,236.668,0.0,0.0,0.0); // object (4)
	CreateObject(974,-1808.067,582.393,236.668,0.0,0.0,0.0); // object (5)
	CreateObject(974,-1814.722,582.414,236.668,0.0,0.0,0.0); // object (6)
	CreateObject(974,-1821.334,582.439,236.668,0.0,0.0,0.0); // object (7)
	CreateObject(974,-1827.996,582.458,236.668,0.0,0.0,0.0); // object (8)
	CreateObject(974,-1834.649,582.436,236.668,0.0,0.0,0.0); // object (9)
	CreateObject(974,-1840.173,582.478,236.665,0.0,0.0,0.0); // object (10)
	CreateObject(974,-1810.944,519.624,236.665,0.0,0.0,-58.828); // object (11)
	CreateObject(974,-1814.395,525.311,236.665,0.0,0.0,-58.828); // object (12)
	CreateObject(974,-1817.780,530.993,236.665,0.0,0.0,-59.688); // object (13)
	CreateObject(974,-1821.112,536.605,236.665,0.0,0.0,-59.688); // object (14)
	CreateObject(974,-1824.499,542.296,236.665,0.0,0.0,-59.688); // object (15)
	CreateObject(974,-1827.690,547.951,236.665,0.0,0.0,-59.688); // object (16)
	CreateObject(974,-1830.834,553.649,236.665,0.0,0.0,-59.688); // object (17)
	CreateObject(974,-1834.118,559.409,236.665,0.0,0.0,-59.688); // object (18)
	CreateObject(974,-1837.370,564.930,236.665,0.0,0.0,-59.688); // object (19)
	CreateObject(974,-1840.692,570.588,236.665,0.0,0.0,-59.688); // object (20)
	CreateObject(974,-1843.774,575.915,236.665,0.0,0.0,-59.688); // object (21)
	CreateObject(974,-1802.330,519.145,236.668,0.0,0.0,-118.516); // object (22)
	CreateObject(974,-1799.168,524.890,236.665,0.0,0.0,-118.516); // object (23)
	CreateObject(974,-1796.508,529.511,236.665,0.0,0.0,-121.094); // object (24)
	CreateObject(974,-1793.383,534.776,236.665,0.0,0.0,-121.094); // object (25)
	CreateObject(974,-1790.096,540.356,236.665,0.0,0.0,-121.094); // object (26)
	CreateObject(974,-1786.928,545.766,236.665,0.0,0.0,-121.094); // object (27)
	CreateObject(974,-1783.795,550.964,236.665,0.0,0.0,-121.094); // object (28)
	CreateObject(974,-1780.476,556.510,236.665,0.0,0.0,-121.094); // object (29)
	CreateObject(974,-1777.126,562.100,236.665,0.0,0.0,-121.094); // object (30)
	CreateObject(974,-1773.744,567.743,236.665,0.0,0.0,-121.094); // object (31)
	CreateObject(974,-1771.302,571.703,236.665,0.0,0.0,-121.094); // object (32)
	CreateObject(974,-1769.646,574.434,236.688,0.0,0.0,-121.094); // object (33)
	CreateObject(4199,-1796.295,556.458,231.744,0.0,0.0,0.0); // object (37)
	CreateObject(4199,-1803.545,555.215,231.726,0.0,0.0,0.0); // object (38)
	CreateObject(4199,-1820.583,561.393,231.768,0.0,0.0,0.0); // object (39)
	CreateObject(4199,-1815.096,557.880,231.769,0.0,0.0,0.0); // object (40)
	CreateObject(4199,-1813.341,554.951,221.100,0.0,177.903,28.361); // object (41)
	CreateObject(4199,-1802.471,558.545,221.575,0.0,177.903,28.361); // object (43)
	CreateObject(4199,-1796.365,562.700,221.920,0.0,177.903,28.361); // object (44)
	CreateObject(16151,-1789.444,569.693,234.282,0.0,0.0,-157.500); // object (45)
	CreateObject(16152,-1777.826,581.323,233.883,0.0,0.0,-90.000); // object (46)
	CreateObject(1951,-1788.762,570.408,235.076,0.0,0.0,0.0); // object (47)
	CreateObject(1951,-1787.616,567.255,235.076,0.0,0.0,0.0); // object (49)
	CreateObject(1951,-1787.749,568.144,235.076,0.0,0.0,0.0); // object (50)
	CreateObject(1951,-1788.290,569.259,235.076,0.0,0.0,0.0); // object (51)
	CreateObject(1951,-1780.336,581.462,234.997,0.0,0.0,0.0); // object (52)
	CreateObject(1951,-1777.965,581.275,234.997,0.0,0.0,0.0); // object (54)
	CreateObject(1951,-1775.438,581.548,234.997,0.0,0.0,0.0); // object (55)
	CreateObject(1951,-1773.261,581.402,234.997,0.0,0.0,0.0); // object (57)
	CreateObject(1665,-1788.536,569.970,234.923,0.0,0.0,0.0); // object (58)
	CreateObject(1547,-1775.497,581.044,234.811,0.0,0.0,0.0); // object (59)
	CreateObject(1545,-1775.652,582.336,235.628,0.0,0.0,0.0); // object (60)
	CreateObject(1545,-1773.233,582.336,235.950,0.0,0.0,0.0); // object (61)
	CreateObject(1545,-1778.022,582.336,235.615,0.0,0.0,0.0); // object (62)
	CreateObject(1545,-1780.415,582.367,235.349,0.0,0.0,0.0); // object (63)
	CreateObject(1510,-1777.882,582.012,234.821,0.0,0.0,0.0); // object (65)
	CreateObject(1510,-1775.513,582.083,234.821,0.0,0.0,0.0); // object (67)
	CreateObject(1510,-1773.206,582.008,234.821,0.0,0.0,0.0); // object (68)
	CreateObject(1510,-1780.264,581.904,234.821,0.0,0.0,0.0); // object (70)
	CreateObject(13667,-1789.365,569.866,339.349,0.0,0.0,39.534); // object (72)
	CreateObject(13562,-1769.123,579.863,241.455,0.0,0.0,0.0); // object (73)
	CreateObject(7073,-1806.322,516.665,259.282,0.0,0.0,90.000); // object (76)
	CreateObject(3877,-1843.071,582.121,242.680,0.0,0.0,0.0); // object (77)
	CreateObject(3877,-1771.072,582.694,242.681,0.0,0.0,0.0); // object (78)
	CreateObject(3877,-1809.114,516.080,242.681,0.0,0.0,0.0); // object (79)
	CreateObject(3528,-1792.220,567.437,244.142,0.0,0.0,-146.250); // object (81)
	CreateObject(3528,-1821.505,566.608,244.586,0.0,0.0,-45.000); // object (82)
	CreateObject(16782,-1770.474,580.030,236.186,0.0,0.0,-149.765); // object (83)
	CreateObject(918,-1790.621,570.305,234.262,0.0,0.0,0.0); // object (84)
	CreateObject(2600,-1845.184,577.502,241.788,0.0,0.0,-11.250); // object (86)
	CreateObject(3743,-1838.253,575.807,238.346,0.0,0.0,-123.750); // object (87)
	CreateObject(987,-1805.289,569.918,233.887,0.0,0.0,0.0); // object (88)
	CreateObject(987,-1820.575,569.958,233.887,0.0,0.0,0.0); // object (89)
	CreateObject(987,-1813.763,549.475,233.882,0.0,0.0,-239.688); // object (90)
	CreateObject(987,-1816.804,554.646,233.891,0.0,0.0,-239.688); // object (91)
	CreateObject(987,-1809.152,541.577,233.882,0.0,0.0,-239.688); // object (92)
	CreateObject(987,-1790.414,564.852,233.891,0.0,0.0,-479.375); // object (93)
	CreateObject(987,-1794.757,556.946,233.963,0.0,0.0,-479.375); // object (94)
	CreateObject(987,-1797.647,551.679,233.949,0.0,0.0,-479.375); // object (95)
	CreateObject(3819,-1800.944,567.037,234.855,0.0,-3.438,90.000); // object (96)
	CreateObject(3819,-1806.201,547.053,234.838,0.0,0.0,-90.000); // object (97)
	CreateObject(3819,-1812.934,567.448,234.880,0.0,0.0,-270.000); // object (98)
	CreateObject(3819,-1812.641,552.593,234.880,0.0,0.0,-150.547); // object (99)
	CreateObject(3819,-1800.181,552.768,234.855,0.0,0.0,-26.797); // object (100)
	CreateObject(14781,-1807.452,559.210,234.930,0.0,0.0,0.0); // object (101)
	CreateObject(1314,-1781.839,572.776,34.366,0.0,0.0,0.0); // object (105)
	CreateObject(1314,-1806.440,530.542,34.363,0.0,0.0,0.0); // object (106)
	CreateObject(1314,-1830.949,572.735,34.363,0.0,0.0,0.0); // object (107)
	return 1;
}

public PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
	new Float:oldposx, Float:oldposy, Float:oldposz;
	new Float:tempposx, Float:tempposy, Float:tempposz;
	GetPlayerPos(playerid, oldposx, oldposy, oldposz);
	tempposx = (oldposx -x);
	tempposy = (oldposy -y);
	tempposz = (oldposz -z);
	if (((tempposx < radi) && (tempposx > -radi)) && ((tempposy < radi) && (tempposy > -radi)) && ((tempposz < radi) && (tempposz > -radi)))
	{
		return 1;
	}
	return 0;
}
C:\Users\ProfDrHjSuaidi\Desktop\samp03asvr_R4_win3 2\gamemodes\wwe.pwn(24) : warning 217: loose indentation
C:\Users\ProfDrHjSuaidi\Desktop\samp03asvr_R4_win3 2\gamemodes\wwe.pwn(25) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Reply
#4

Those errors just mean you need to indent the script on those lines (On those lines just move the text over/back a bit).
Reply
#5

Its really anoying that people just dump their scripts without the warnings and just hope some1 fix it.
At least tell us what the problem is wich line and give us the errors and warnings=
Reply
#6

Quote:
Originally Posted by Oxside
Its really anoying that people just dump their scripts without the warnings and just hope some1 fix it.
At least tell us what the problem is wich line and give us the errors and warnings=
When I join my test server, and spawn it shows a white screen.
Reply
#7

Can you use commands? Then try to teleport to anything?
Reply
#8

Quote:
Originally Posted by Oxside
Can you use commands? Then try to teleport to anything?
Commands are not working.
Reply
#9

Is this a filterscript or gamemode. If its a filterscript you still miss some callbacks and gamemodes you miss some really important.
Reply
#10

Quote:
Originally Posted by Oxside
Is this a filterscript or gamemode. If its a filterscript you still miss some callbacks and gamemodes you miss some really important.
Filterscript, but the commands aren't working.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)