Szerző Téma: Moveobject  (Megtekintve 1162 alkalommal)

Moveobject
« Dátum: 2011. július 22. - 23:24:53 »
0 Show voters
Szewasztok!
Mapoltam egy ki klán találkozó helyet.
http://solidfiles.com/d/2b7c2/
Abba szeretnélek megkérni titeket hogy aki pro scriptelésbe az kérem javítsa ki a benne lévõ hibákat  :angel: ^-^
Aki megcsinálja megy a respect :)
Elõre is köszönöm

Koncz_Norbert

  • Vendég
Moveobject
« Válasz #1 Dátum: 2011. július 22. - 23:33:45 »
+1 Show voters
Javítva.
 

#include a_samp
new kapu;
public OnFilterScriptInit()
{
CreateObject(18450, 2977.115479, 1303.555908, 20.048927, 0.0000, 0.0000, 0.0000);
CreateObject(18450, 3028.580811, 1303.381348, 19.785042, 0.0000, 0.0000, 0.0000);
CreateObject(5107, 3121.081055, 1282.453979, 27.313499, 0.0000, 0.0000, 0.0000);
CreateObject(3749, 3048.599121, 1303.395630, 26.017448, 0.0000, 0.0000, 270.0000);
//CreateObject(980, 3047.424072, 1303.303467, 22.932426, 0.0000, 0.0000, 90.0000);
CreateObject(972, 3163.013916, 1287.840942, 20.155916, 0.0000, 0.0000, 180.0000);
CreateObject(972, 3163.180420, 1313.016724, 20.155916, 0.0000, 0.0000, 180.0000);
CreateObject(972, 3163.164795, 1263.211182, 20.155916, 0.0000, 0.0000, 180.0000);
CreateObject(974, 3159.923584, 1325.204224, 22.936775, 0.0000, 0.0000, 270.0000);
CreateObject(3881, 3053.777588, 1296.282349, 22.182354, 0.0000, 0.0000, 270.0000);
CreateObject(3881, 3054.976318, 1310.577148, 22.182354, 0.0000, 0.0000, 90.0000);
CreateObject(966, 3057.057617, 1306.908447, 20.159035, 0.0000, 0.0000, 90.0000);
CreateObject(968, 3057.064209, 1306.976318, 21.218285, 0.0000, 0.0000, 270.0000);
CreateObject(7520, 3054.078613, 1266.862671, 20.469627, 0.0000, 0.0000, 90.0000);
CreateObject(14826, 3056.375488, 1252.429443, 20.923414, 0.0000, 0.0000, 270.0000);
CreateObject(2714, 3054.962402, 1267.212036, 23.643326, 0.0000, 0.0000, 90.0000);
CreateObject(2714, 3054.962402, 1260.914673, 23.879625, 0.0000, 0.0000, 90.0000);
CreateObject(2714, 3054.962402, 1255.284302, 23.854208, 0.0000, 0.0000, 90.0000);
CreateObject(2714, 3054.962402, 1272.173584, 23.778322, 0.0000, 0.0000, 90.0000);
CreateObject(2714, 3054.962402, 1277.685913, 23.695719, 0.0000, 0.0000, 90.0000);
CreateObject(3471, 3045.039795, 1309.379883, 21.529465, 0.0000, 0.0000, 225.0000);
CreateObject(3471, 3045.163574, 1296.806763, 21.605331, 0.0000, 0.0000, 135.0000);
CreateObject(3521, 2996.288086, 1300.448242, 21.945654, 0.0000, 0.0000, 90.0000);
CreateObject(6965, 3096.690430, 1288.624023, 24.771498, 0.0000, 0.0000, 0.0000);
CreateObject(7392, 3069.561768, 1318.110718, 29.879108, 0.0000, 0.0000, 180.0000);
CreateObject(8483, 3151.473145, 1290.593628, 26.540361, 0.0000, 0.0000, 180.0000);
CreateObject(2780, 3057.432617, 1298.029419, 23.845793, 0.0000, 0.0000, 180.0000);
CreateObject(2780, 3057.725098, 1308.835693, 23.845793, 0.0000, 0.0000, 0.0000);
CreateObject(1238, 3056.885986, 1299.244751, 20.678555, 0.0000, 0.0000, 0.0000);
CreateObject(1238, 3056.891357, 1307.920532, 20.678555, 0.0000, 0.0000, 0.0000);
CreateObject(3558, 3149.774902, 1313.660889, 23.314926, 0.0000, 0.0000, 90.0000);
CreateObject(3605, 3150.472656, 1263.543457, 26.465986, 0.0000, 0.0000, 67.5000);
CreateObject(987, 3051.820557, 1292.204834, 26.628233, 0.0000, 0.0000, 180.0000);
CreateObject(987, 3040.645264, 1292.238525, 26.628233, 0.0000, 0.0000, 270.0000);
CreateObject(987, 3040.629150, 1280.243286, 26.628233, 0.0000, 0.0000, 270.0000);
CreateObject(987, 3040.609375, 1268.314697, 26.628233, 0.0000, 0.0000, 270.0000);
CreateObject(987, 3040.634277, 1263.990723, 26.628233, 0.0000, 0.0000, 270.0000);
CreateObject(987, 3040.766602, 1252.483276, 26.628233, 0.0000, 0.0000, 0.0000);
CreateObject(987, 3048.233398, 1245.877075, 26.092018, 0.0000, 0.0000, 0.0000);
CreateObject(987, 3060.240479, 1245.941895, 26.092018, 0.0000, 0.0000, 0.0000);
CreateObject(987, 3072.182861, 1245.936523, 26.092018, 0.0000, 0.0000, 0.0000);
CreateObject(987, 3084.153564, 1245.746460, 26.092018, 0.0000, 0.0000, 0.0000);
CreateObject(8147, 3126.832275, 1246.060303, 29.193045, 0.0000, 0.0000, 270.0000);
CreateObject(987, 3048.230713, 1325.219971, 26.092506, 0.0000, 0.0000, 270.0000);
CreateObject(987, 3060.143311, 1325.203369, 26.092499, 0.0000, 0.0000, 180.0000);
CreateObject(987, 3072.024658, 1325.213257, 26.092499, 0.0000, 0.0000, 180.0000);
CreateObject(987, 3084.036377, 1325.223755, 26.092499, 0.0000, 0.0000, 180.0000);
CreateObject(987, 3095.950928, 1325.213867, 26.092499, 0.0000, 0.0000, 180.0000);
CreateObject(987, 3107.841064, 1325.208130, 26.092499, 0.0000, 0.0000, 180.0000);
CreateObject(987, 3119.758789, 1325.257324, 26.092499, 0.0000, 0.0000, 180.0000);
CreateObject(987, 3131.700439, 1325.152588, 26.092499, 0.0000, 0.0000, 180.0000);
CreateObject(987, 3143.666016, 1325.129639, 26.092499, 0.0000, 0.0000, 180.0000);
CreateObject(987, 3155.656738, 1325.122070, 26.092499, 0.0000, 0.0000, 180.0000);
CreateObject(987, 3164.891602, 1325.046021, 26.092499, 0.0000, 0.0000, 180.0000);
kapu = CreateObject(980, 3047.424072, 1303.303467, 22.932426, 0.0000, 0.0000, 90.0000);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp(\"/teleport\", cmdtext, true) )
{
SetPlayerPos(playerid, 3048.42, 1303.30, 22.93);
return 1;
}
if(!strcmp(\"/klankapu-nyit\", cmdtext, true) )
{
if( IsPlayerAdmin( playerid ) )
   MoveObject(kapu, 3047.424072, 1303.303467, 15.932426, 3);
else
   SendClientMessage(playerid, 0xFF3366FF, \"Mit akarsz már??! Nem vagy admin!\");
return 1;
}
if(!strcmp(\"/klankapu-zár\", cmdtext, true) )
{
if( IsPlayerAdmin( playerid ) )
   MoveObject(kapu, 3047.424072, 1303.303467, 22.932426, 3);
else
   SendClientMessage(playerid, 0xFF3366FF, \"Mit akarsz már??! Nem vagy admin!\");
return 1;
}
return 0;
}
« Utoljára szerkesztve: 2011. július 22. - 23:49:47 írta Koncz Norbert »

Nem elérhető Norby

  • 1575
    • Profil megtekintése
Moveobject
« Válasz #2 Dátum: 2011. július 23. - 00:32:54 »
+1 Show voters
Tessék én is megcsináltam remélem ez is jó rövidebb
:)
[pawn]
if(!strcmp(\"/klankapu-nyit\", cmdtext, true) )
{
   if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFF3366FF, \"Mit akarsz már??! Nem vagy admin!\");
   MoveObject(kapu, 3047.424072, 1303.303467, 15.932426, 3);
   return 1;
}
if(!strcmp(\"/klankapu-zár\", cmdtext, true) )
{
   if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xFF3366FF, \"Mit akarsz már??! Nem vagy admin!\");
   MoveObject(kapu, 3047.424072, 1303.303467, 22.932426, 3);
   return 1;
}
return 0;
}[/pawn]

Moveobject
« Válasz #3 Dátum: 2011. július 23. - 07:54:17 »
0 Show voters
nagyon köszönöm skacok
1-1 respect megy  ;D

Koncz_Norbert

  • Vendég
Moveobject
« Válasz #4 Dátum: 2011. július 23. - 09:25:59 »
0 Show voters
Ha sikerült akkor zárd a témát.

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal