25,-317.8129,2690.8958
-962.0,2715.90,45.60
new kapu;public OnGameModeInit(){kapu = CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)//Azaz a kapud adataival másold be a függvénytreturn 1;}CMD:nyit(playerid, params[]){if(IsPlayerInRangeOfPoint(playerid,a kaputól való távolság, a kapu kordináták(X,Y,Z)){ MoveObject(kapu,új X,Y,Z+2.0 kordináta(az új helye), sebesség);}return 1;}
CreateObject(968,-962.0000000,2715.9000000,45.6000000,0.0000000,90.0000000,96.0000000); //object(barrierturn)(1)
CreateObject(968,-962.0000000,2715.9000000,45.6000000,0.0000000,0.0000000,96.0000000); //object(barrierturn)(1)
CMD:nyit(playerid,params[]){if(IsPlayerInRangeOfPoint(playerid, 10, 156,-315.9286,2691.7021)){ if(pInfo[playerid][pFrakcio] == SZERELO || pInfo[playerid][pFrakcio] == SZFONOK) { MoveObject(szkapu1, 968,-962.00,2715.900+2.0); cmd_me(playerid, \"kinyit egy kaput.\");}}else SendClientMessage(playerid, PIROS, \"Nem vagy a kapu közelébe.\");return 1;}CMD:zar(playerid,params[]){ if(IsPlayerInRangeOfPoint(playerid, 10, -99.4014,1106.0576,19.7422)){ if(pInfo[playerid][pFrakcio] == SZERELO || pInfo[playerid][pFrakcio] == SZFONOK) { MoveObject(szkapu1, CreateObject(968,-962.0000000,2715.9000000); //object(barrierturn)(1)); cmd_me(playerid, \"becsuk egy kaput.\");}}else SendClientMessage(playerid, PIROS, \"Nem vagy a kapu közelébe.\");return 1;}
new kapu;public OnGameModeInit(){ kapu = CreateObject(968,-962.0000000,2715.9000000,45.6000000,0.0000000,90.0000000,96.0000000); return 1;}CMD:nyit(playerid, params[]){ if(IsPlayerInRangeOfPoint(playerid,15.0, -962.0000000,2715.9000000,45.6000000)) { MoveObject(kapu,-962.0000000,2715.9000000,45.6000000,0.0000000,0.0000000,96.0000000, 3.0); } return 1;}CMD:zar(playerid, params[]){if(IsPlayerInRangeOfPoint(playerid,15.0, -962.0000000,2715.9000000,45.6000000)){ MoveObject(kapu,-962.0000000,2715.9000000,45.6000000,0.0000000,90.0000000,96.0000000,3.0);}return 1;}
if(IsPlayerInRangeOfPoint(playerid, 10, 156,-315.9286,2691.7021))
new kapu; public OnGameModeInit() { kapu = CreateObject(968,-962.0000000,2715.9000000,45.6000000,0.0000000,90.0000000,96.0000000); return 1; } CMD:nyit(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid,15.0, -962.0000000,2715.9000000,45.6000000)) { MoveObject(kapu,-962.0000000,2715.9000000,45.6000000,3.0,0.0000000,0.0000000,96.0000000); } return 1; } CMD:zar(playerid, params[]) { if(IsPlayerInRangeOfPoint(playerid,15.0, -962.0000000,2715.9000000,45.6000000)) { MoveObject(kapu,-962.0000000,2715.9000000,45.6000000,3.0,0.0000000,90.0000000,96.0000000); } return 1; }