>\" post=\"224204\" timestamp=\"1329067110\"]Kapsz 5 % warnt téma név miatt ! Már neked is lett szólva hogy figyelj odaJavítsd a téma nevét akkor nem törlöm a témát! [/quote]Átírtam.. Elnézést
NA figyeld elmondomEz egy üres PAWNO amibe nyitottad most igy ebbõl nem lesz semmi,hogy igy te csak bele másolod.Ahoz kéne a mod elejére ez #include <samp> #include <zcmd>Na de ne is igy csináld hanem igy.RÁmész a PAWNORa ott a bal sarokba van egy ilyen,hogy \'New\' fehér lapcsokaarra rámész bead egy ilyen sorokat.Ez az alap cuccos ezzel tutsz kiindulni.[pawn]// This is a comment// uncomment the line below if you want to write a filterscript//#define FILTERSCRIPT#include <a_samp>#if defined FILTERSCRIPTpublic OnFilterScriptInit(){print(\"\\n--------------------------------------\");print(\" Blank Filterscript by your name here\");print(\"--------------------------------------\\n\");return 1;}public OnFilterScriptExit(){return 1;}#elsemain(){print(\"\\n----------------------------------\");print(\" Blank Gamemode by your name here\");print(\"----------------------------------\\n\");}#endifpublic OnGameModeInit(){// Don\'t use these lines if it\'s a filterscriptSetGameModeText(\"Blank Script\");AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);return 1;}public OnGameModeExit(){return 1;}public OnPlayerRequestClass(playerid, classid){SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);return 1;}public OnPlayerConnect(playerid){return 1;}public OnPlayerDisconnect(playerid, reason){return 1;}public OnPlayerSpawn(playerid){return 1;}public OnPlayerDeath(playerid, killerid, reason){return 1;}public OnVehicleSpawn(vehicleid){return 1;}public OnVehicleDeath(vehicleid, killerid){return 1;}public OnPlayerText(playerid, text[]){return 1;}public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp(\"/mycommand\", cmdtext, true, 10) == 0){ // Do something here return 1;}return 0;}public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger){return 1;}public OnPlayerExitVehicle(playerid, vehicleid){return 1;}public OnPlayerStateChange(playerid, newstate, oldstate){return 1;}public OnPlayerEnterCheckpoint(playerid){return 1;}public OnPlayerLeaveCheckpoint(playerid){return 1;}public OnPlayerEnterRaceCheckpoint(playerid){return 1;}public OnPlayerLeaveRaceCheckpoint(playerid){return 1;}public OnRconCommand(cmd[]){return 1;}public OnPlayerRequestSpawn(playerid){return 1;}public OnObjectMoved(objectid){return 1;}public OnPlayerObjectMoved(playerid, objectid){return 1;}public OnPlayerPickUpPickup(playerid, pickupid){return 1;}public OnVehicleMod(playerid, vehicleid, componentid){return 1;}public OnVehiclePaintjob(playerid, vehicleid, paintjobid){return 1;}public OnVehicleRespray(playerid, vehicleid, color1, color2){return 1;}public OnPlayerSelectedMenuRow(playerid, row){return 1;}public OnPlayerExitedMenu(playerid){return 1;}public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid){return 1;}public OnPlayerKeyStateChange(playerid, newkeys, oldkeys){return 1;}public OnRconLoginAttempt(ip[], password[], success){return 1;}public OnPlayerUpdate(playerid){return 1;}public OnPlayerStreamIn(playerid, forplayerid){return 1;}public OnPlayerStreamOut(playerid, forplayerid){return 1;}public OnVehicleStreamIn(vehicleid, forplayerid){return 1;}public OnVehicleStreamOut(vehicleid, forplayerid){return 1;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){return 1;}public OnPlayerClickPlayer(playerid, clickedplayerid, source){return 1;}[/pawn]Ebbe rakd bele ugy,hogya mód elejére beirod ezt:#include <zcmd> mivel a a_samp már benne van.Utána a mod aljára vagy valahova , meg ezt:[pawn]CMD:goto(playerid, params[]){ new giveplayerid; new Float:x, Float:y, Float:z; if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /goto [playerid]\"); if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\"); GetPlayerPos(giveplayerid, x, y, z); SetPlayerPos(playerid, x, y, z); SetPlayerInterior(playerid, GetPlayerInterior(giveplayerid)); new name[MAX_PLAYER_NAME], string[200]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof string, \"%s elteleportált hozzá: %s\", name, giveplayerid); SendClientMessageToAll(0xFF0000AA,string); return 1;}[/pawn]Ha FILterScriptet akarsz akkor az OnGameModeInit meg a Exitet töröld ki ha pedig GameModot akarsz akkor meg a OnFilterScript init/exit-et töröld.A másik kérdésedre a válaszz:haa parancs igy kezdõdik CMD:akkro zcmd.Ha dcmd akkor dcmdha pedig igyif(strcmp(cmd, \"/kkkkkkkk\", true) == 0){akkor alap.
Hát figy van a pawnonak egy keresõ funkciója.ami ott van fent igy \'Find\' egy távcsõ szerü oda beirod OnGameModeInit
C:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(33) : error 001: expected token: \"-identifier-\", but found \"(\"C:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(36) : error 021: symbol already defined: \"SetGameModeText\"C:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(38) : error 010: invalid function or declarationC:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(41) : error 001: expected token: \"-identifier-\", but found \"(\"C:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(43) : error 010: invalid function or declarationC:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(234) : error 020: invalid symbol name \"\"C:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(238) : error 010: invalid function or declarationC:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(239) : error 010: invalid function or declarationC:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(244) : error 021: symbol already defined: \"GetPlayerName\"C:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(247) : error 010: invalid function or declarationC:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(249) : warning 203: symbol is never used: \"giveplayerid\"C:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(249) : warning 203: symbol is never used: \"name\"C:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(249) : warning 203: symbol is never used: \"string\"C:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(249) : warning 203: symbol is never used: \"x\"C:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(249) : warning 203: symbol is never used: \"y\"C:\\Documents and Settings\\kuruzslo\\Dokumentumok\\testtt\\pawno\\gotoid.pwn(249) : warning 203: symbol is never used: \"z\"Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase10 Errors. [/quote]Ezjó v rossz?
Hát ez nem a legjobb De te elöbb nem a LVDM -el probálkoztál?Abba már bele épitetted nem a zcmd?Akkor nyisad meg amit cisnáltál modot és abba probáld meg a /goto parancsot belerakni Vayg segitek ,van XFIRE?Ha van vegyél fel:jacksamierés ott beszélünk vagy irkálj PM-be ne nyiss 10 percenként uj témát