Kéne az object a CreateObject köszi és megcsinálom neked!
// This is a comment// uncomment the line below if you want to write a filterscript//#define FILTERSCRIPT#include <a_samp>#if defined FILTERSCRIPTpublic OnFilterScriptInit(){new kapu;kapu = CreateObject(968, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013);print(\"\\n--------------------------------------\");print(\" Blank Filterscript by your name here\");print(\"--------------------------------------\\n\");return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0){MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013,5);return 1;}if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0){MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.0000, 0.0000, 0.0000,5);return 1;}return 0;}#endif
// This is a comment// uncomment the line below if you want to write a filterscript//#define FILTERSCRIPT#include <a_samp>#if defined FILTERSCRIPTpublic OnFilterScriptInit(){new kapu;kapu = CreateObject(968, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013);print(\"\\n--------------------------------------\");print(\" Blank Filterscript by your name here\");print(\"--------------------------------------\\n\");return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0){MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013,5);return 1;}if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0){MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.0000, 0.0000, 0.0000,5);return 1;}return 0;}#endif Tessék használd egésségel
#include <a_samp>#if defined FILTERSCRIPTpublic OnFilterScriptInit(){ new kapu; kapu = CreateObject(968, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013); print(\"\\n--------------------------------------\"); print(\" Blank Filterscript by your name here\"); print(\"--------------------------------------\\n\"); return 1;}public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013,5); return 1; } if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.0000, 0.0000, 0.0000,5); return 1; } return 0;}#endif
#include <a_samp>#if defined FILTERSCRIPTpublic OnFilterScriptInit(){ new kapu; kapu = CreateObject(968, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013); print(\"\\n--------------------------------------\"); print(\" Blank Filterscript by your name here\"); print(\"--------------------------------------\\n\"); return 1;}public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013,5); return 1; } if (strcmp(\"/h-zar\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.0000, 0.0000, 0.0000,5); return 1; } return 0;}#endif
// This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { new kapu; kapu = CreateObject(968, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013); print(\"\\n--------------------------------------\"); print(\" Blank Filterscript by your name here\"); print(\"--------------------------------------\\n\"); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013,5); return 1; } if (strcmp(\"/h-zar\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.0000, 0.0000, 0.0000,5); return 1; } return 0; } #endif [code]Javitotam próbáld ki
#include <a_samp>#if defined FILTERSCRIPTpublic OnFilterScriptInit(){ new kapu; kapu = CreateObject(968, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013); print(\"\\n--------------------------------------\"); print(\" Blank Filterscript by your name here\"); print(\"--------------------------------------\\n\"); return 1;}public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013,5); return 1; } if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.0000, 0.0000, 0.0000,5); return 1; } return 0;}#endif Ez azért nem lesz jó mert mind a két parancs /h-nyitÍgy lesz jó: #include <a_samp>#if defined FILTERSCRIPTpublic OnFilterScriptInit(){ new kapu; kapu = CreateObject(968, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013); print(\"\\n--------------------------------------\"); print(\" Blank Filterscript by your name here\"); print(\"--------------------------------------\\n\"); return 1;}public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013,5); return 1; } if (strcmp(\"/h-zar\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.0000, 0.0000, 0.0000,5); return 1; } return 0;}#endif
Elírtam bocsánatotokat kérem nagyon szgyelem magam ezért a végzetes hibáért! // This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { new kapu; kapu = CreateObject(968, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013); print(\"\\n--------------------------------------\"); print(\" Blank Filterscript by your name here\"); print(\"--------------------------------------\\n\"); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013,5); return 1; } if (strcmp(\"/h-zar\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.0000, 0.0000, 0.0000,5); return 1; } return 0; } #endif [code]Javitotam próbáld ki [/quote]Benyomom a módba, remélem megy.Dupla hozzászólás automatikusan összefûzve. ( 2013. június 28. - 15:06:14 )Elírtam bocsánatotokat kérem nagyon szgyelem magam ezért a végzetes hibáért! // This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { new kapu; kapu = CreateObject(968, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013); print(\"\\n--------------------------------------\"); print(\" Blank Filterscript by your name here\"); print(\"--------------------------------------\\n\"); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013,5); return 1; } if (strcmp(\"/h-zar\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.0000, 0.0000, 0.0000,5); return 1; } return 0; } #endif [code]Javitotam próbáld ki [/quote]Beraktam a módba, tökéletesen ment, csak a koordinátákat kellet kicseréljem! Ment a +!
Elírtam bocsánatotokat kérem nagyon szgyelem magam ezért a végzetes hibáért! // This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #include <a_samp> #if defined FILTERSCRIPT public OnFilterScriptInit() { new kapu; kapu = CreateObject(968, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013); print(\"\\n--------------------------------------\"); print(\" Blank Filterscript by your name here\"); print(\"--------------------------------------\\n\"); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(\"/h-nyit\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.251, 356.75, 6.013,5); return 1; } if (strcmp(\"/h-zar\", cmdtext, true, 10) == 0) { MoveObject(kapu, -961.79999, 2709.6001, 45.5, 0.0000, 0.0000, 0.0000,5); return 1; } return 0; } #endif [code]Javitotam próbáld ki [/quote]Beraktam a módba, tökéletesen ment, csak a koordinátákat kellet kicseréljem! Ment a +!