#include <a_samp>new gate6;forward timerpublic OnFilterScriptInit(){gate6 = CreateObject(980, -1701.7155761719, 685.23944091797, 26.664016723633, 0, 0, 89.980010986328);public OnPlayerCommandText(playerid, cmdtext[]){if(strcmp(\"/sfpd2\", cmdtext, true)){{MoveObject (gate6, -1701.7155761719, 695.23944091797, 26.664016723633, 5.0); SetTimer(\"Timer\", 5000, 0); return 1;}public timer{MoveObject (gate6, -1701.7155761719, 685.23944091797, 26.664016723633, 5.0);return 1;}
C:\\Users\\Felhasználónév\\Server\\samp03e_svr_win32\\pawno\\kísérletek\\sfpd_idozito.pwn(5) : error 001: expected token: \"(\", but found \"public\"C:\\Users\\Felhasználónév\\Server\\samp03e_svr_win32\\pawno\\kísérletek\\sfpd_idozito.pwn(5) : error 001: expected token: \";\", but found \"-identifier-\"C:\\Users\\Felhasználónév\\Server\\samp03e_svr_win32\\pawno\\kísérletek\\sfpd_idozito.pwn(24) : warning 203: symbol is never used: \"OnFilterScriptInit\"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors.
#include <a_samp>new gate6;forward timer();public OnFilterScriptInit(){ gate6 = CreateObject(980, -1701.7155761719, 685.23944091797, 26.664016723633, 0, 0, 89.980010986328);}public OnPlayerCommandText(playerid, cmdtext[]){ if( strcmp( \"/sfpd2\", cmdtext, true ) ) { MoveObject (gate6, -1701.7155761719, 695.23944091797, 26.664016723633, 5.0); SetTimer(\"Timer\", 5000, 0); return 1; } return 0;}public timer(){ MoveObject (gate6, -1701.7155761719, 685.23944091797, 26.664016723633, 5.0);}
#include <a_samp> new gate6; forward timer(); public OnFilterScriptInit() { gate6 = CreateObject(980, -1701.7155761719, 685.23944091797, 26.664016723633, 0, 0, 89.980010986328); } public OnPlayerCommandText(playerid, cmdtext[]) { if( strcmp( \"/sfpd2\", cmdtext, true ) ) { MoveObject (gate6, -1701.7155761719, 695.23944091797, 26.664016723633, 5.0); SetTimer(\"timer\", 5000, 0); return 1; } return 0; } public timer() { MoveObject (gate6, -1701.7155761719, 685.23944091797, 26.664016723633, 5.0); }