#include <a_samp>#include <zcmd>#include <streamer>#include <fixchars.h>#define FILTERSCRIPTnew vam_rampa;CMD:vam-rampa(playerid){ ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,\"EQ-LP:\",\"A Vám-rámpa.\\nHatótávolságuk: 2m\",\"Rendben\",\"\"); return 1;}public OnFilterScriptInit(){ SetTimer(\"vam-rampa\", 500, true); vam-rampa = CreateObject(968, -963.5, 2722.6999511719, 45.400001525879, 0.00000000,270, 95); // vám-rámpa return 1;} public OnFilterScriptExit(){ return 1;} forward vam-rampa(); // vám-rámpa)public vam-rampa(){ new bool:fel-le = false; for(new i; i<MAX_PLAYERS; i++){ if(!IsPlayerConnected(i)) continue; if(IsPlayerInRangeOfPoint(i, 2.0, -963.5, 2722.6999511719, 45.400001525879, 0.00000000, 350, 95)){ fel-le=true; break; } } if(fel-le) MoveObject(vam-rampa, -963.5, 2722.6999511719, 45.400001525879, 0.00000000, 350, 95, 3.0); else MoveObject(vam-rampa, -963.5, 2722.6999511719, 45.400001525879, 0.00000000, 270, 95, 3.0);}
C:\\Users\\robi\\Desktop\\automatakapuk.pwn(18) : error 001: expected token: \"(\", but found \"-\"C:\\Users\\robi\\Desktop\\automatakapuk.pwn(18) : error 001: expected token: \";\", but found \"-identifier-\"C:\\Users\\robi\\Desktop\\automatakapuk.pwn(18) : error 001: expected token: \";\", but found \"-\"C:\\Users\\robi\\Desktop\\automatakapuk.pwn(18) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors.
#include <a_samp>#include <zcmd>#include <streamer>#include <fixchars.h>#define FILTERSCRIPTnew vam_rampa;CMD:vamrampa(playerid, params[]){ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,\"EQ-LP:\",\"A Vám-rámpa.\\nHatótávolságuk: 2m\",\"Rendben\",\"\");return 1;}public OnFilterScriptInit(){SetTimer(\"vam_rampa\", 500, true);vam_rampa = CreateObject(968, -963.5, 2722.6999511719, 45.400001525879, 0.00000000,270, 95); // vám-rámpareturn 1;} public OnFilterScriptExit(){ return 1;}forward VamRampa(); // vám-rámpa)public VamRampa(){new bool:fel_le = false;for(new i; i<MAX_PLAYERS; i++){if(!IsPlayerConnected(i)) continue;if(IsPlayerInRangeOfPoint(i, 2.0, -963.5, 2722.6999511719, 45.400001525879)){fel_le=true;break;}} if(fel_le) MoveObject(vam_rampa, -963.5, 2722.6999511719, 45.400001525879, 3.0); else MoveObject(vam_rampa, -963.5, 2722.6999511719, 45.400001525879, 3.0);return 1;}
if(fel_le) MoveObject(vam_rampa, -963.5, 2722.6999511719, 45.400001525879, 3.0); else MoveObject(vam_rampa, -963.5, 2722.6999511719, 45.400001525879, 3.0); return 1;}
warning 217: loose indentation
#pragma tabsize 0