29.11.2009, 08:55
Код:
if(strcmp(cmd, "/gotojh", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 3) { if (GetPlayerState(playerid) == 2) { new tmpcar = GetPlayerVehicleID(playerid); SetVehiclePos(tmpcar, 1413.4,14.3,32.4); TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0; } else { SetPlayerPos(playerid, 1413.4,14.3,32.4); } SendClientMessage(playerid, COLOR_GRAD1, " Teleportiran si"); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; } else { SendClientMessage(playerid, COLOR_GRAD1, " Nisi athoriziran da koristis ovu komandu!"); } } return 1; }
I tried when I am not admin and it doesnt say Nisi athoriziran da koristis ovu komandu!"); (on eng you are not authorized to use that command!");
And Where I can put my objects
Код:
CreateObject(5457, 1462.865723, -89.066154, 19.891687, 0.0000, 358.2811, 144.2808); CreateObject(3607, 1482.183716, -78.791351, 25.516401, 0.0000, 2.5783, 325.6225); CreateObject(12912, 1518.360229, -24.451015, 32.649002, 0.0000, 0.0000, 236.2499); CreateObject(987, 1476.508179, -20.332979, 22.250338, 0.0000, 5.1566, 339.2189); CreateObject(987, 1488.048340, -24.571703, 21.218889, 0.0000, 1.7189, 315.8594); CreateObject(987, 1496.187988, -31.783939, 20.842981, 0.0000, 1.7189, 310.7028); CreateObject(987, 1503.640747, -41.064346, 20.587263, 0.0000, 1.7189, 305.5462); CreateObject(987, 1511.148193, -50.004490, 19.683014, 0.0000, 1.7189, 305.5462); CreateObject(987, 1517.757568, -59.898716, 19.167040, 0.0000, 2.5783, 280.4679); CreateObject(987, 1520.088135, -71.312630, 18.390301, 0.0000, 1.7189, 283.0462); CreateObject(987, 1522.545532, -82.666351, 17.975655, 0.0000, 1.7189, 283.0462); CreateObject(987, 1524.906616, -94.270561, 17.442829, 0.0000, 0.8594, 240.0744); CreateObject(987, 1518.808472, -104.453262, 17.258299, 0.0000, 0.8594, 240.0744); CreateObject(987, 1512.717407, -114.453354, 17.054533, 0.0000, 0.8594, 195.0744); CreateObject(987, 1500.982788, -117.307076, 17.718904, 0.0000, 0.8594, 150.0744); CreateObject(987, 1491.323486, -111.020889, 17.719431, 0.0000, 0.8594, 161.3244); CreateObject(987, 1480.109131, -106.994316, 17.502224, 0.0000, 0.8594, 184.6839); CreateObject(987, 1467.961182, -107.798508, 17.158693, 0.0000, 356.5623, 217.5744); CreateObject(987, 1458.320068, -114.824081, 17.779026, 0.0000, 355.7028, 174.2933); CreateObject(987, 1446.741821, -112.515137, 19.499033, 0.0000, 359.1406, 150.8566); CreateObject(987, 1435.775269, -106.216789, 19.805630, 0.0000, 358.2811, 160.4649); CreateObject(987, 1424.336548, -103.382622, 19.310799, 0.0000, 354.8434, 126.7150); CreateObject(987, 1417.642456, -93.518578, 20.455597, 0.0000, 357.4217, 72.1838); CreateObject(987, 1421.398926, -82.238602, 21.014259, 0.0000, 357.4217, 86.9489); CreateObject(987, 1421.779785, -70.073441, 21.686213, 351.4056, 353.1245, 91.2461); CreateObject(987, 1464.748291, -21.777390, 22.762648, 0.0000, 2.5783, 5.3883); CreateObject(987, 1421.541870, -58.382179, 23.161385, 351.4056, 353.1245, 68.7461); CreateObject(987, 1425.466797, -47.408566, 24.419069, 356.5623, 358.2811, 65.1535); CreateObject(987, 1430.439209, -36.543377, 24.135384, 356.5623, 358.2811, 42.6535); CreateObject(987, 1438.735474, -29.088894, 24.888805, 356.5623, 3.4377, 21.0904); CreateObject(980, 1455.018677, -23.319227, 26.554148, 0.0000, 0.0000, 22.5000); CreateObject(5837, 1466.344849, -23.992773, 25.119175, 0.0000, 353.9839, 167.9589); CreateObject(987, 1459.894043, -22.253349, 22.787331, 0.0000, 0.0000, 7.1072);