C:\\Documents and Settings\\user\\Asztal\\Server\\gamemode\\Stunt & Drift.pwn(10) : warning 213: tag mismatchC:\\Documents and Settings\\user\\Asztal\\Server\\gamemode\\Stunt & Drift.pwn(11) : warning 213: tag mismatchC:\\Documents and Settings\\user\\Asztal\\Server\\gamemode\\Stunt & Drift.pwn(12) : warning 213: tag mismatchC:\\Documents and Settings\\user\\Asztal\\Server\\gamemode\\Stunt & Drift.pwn(13) : warning 213: tag mismatchC:\\Documents and Settings\\user\\Asztal\\Server\\gamemode\\Stunt & Drift.pwn(19) : warning 213: tag mismatchC:\\Documents and Settings\\user\\Asztal\\Server\\gamemode\\Stunt & Drift.pwn(43) : error 029: invalid expression, assumed zeroC:\\Documents and Settings\\user\\Asztal\\Server\\gamemode\\Stunt & Drift.pwn(43) : error 004: function \"OnPlayerCommandText\" is not implementedC:\\Documents and Settings\\user\\Asztal\\Server\\gamemode\\Stunt & Drift.pwn(45) : error 017: undefined symbol \"cmdtext\"C:\\Documents and Settings\\user\\Asztal\\Server\\gamemode\\Stunt & Drift.pwn(46) : warning 213: tag mismatchC:\\Documents and Settings\\user\\Asztal\\Server\\gamemode\\Stunt & Drift.pwn(53) : error 021: symbol already defined: \"print\"
#include <a_samp>#pragma tabsize 0new menu:car; public OnFilterScriptInit() { car = CreateMenu(\"Jármû Menü\", 1, 50.0, 180.0, 200.0, 200.0); SetMenuColumnHeader(car, 0, \"Jarmuvek:\");// AddMenuItem(car, 0, \"NRG500\"); AddMenuItem(car, 0, \"Elegy\"); return 1;} public OnPlayerSelectedMenuRow(playerid, row){ if(GetPlayerMenu(playerid) == car){ if(row == 0){ new Float:X; new Float:Y; new Float:Z; new Float:ang; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,ang); CreateVehicle(560,X,Y,Z +1,ang,-1,-1,-1); SetPlayerPos(playerid,X,Y,Z +3); }else if(row == 1){new Float:X;new Float:Y;new Float:Z;new Float:ang; GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,ang); CreateVehicle(562,X,Y,Z +1,ang,-1,-1,-1); SetPlayerPos(playerid,X,Y,Z +3); } public OnPlayerCommandText(playerid, cmdtext[]){if(strcmp(cmdtext, \"/jarmu\", true) == 0) {ShowMenuForPlayer(car, playerid);return 1;}}}return 0;} print(\"***\"); print(\"* JARMU LEHIVO By:Gibert! *\"); print(\"***\"); } public OnFilterScriptExit() { return 1; }
#include <a_samp>#include <zcmd>#define DIALOG_KOCSI 110main(){ print(\"***\");}public OnFilterScriptExit(){ return 1;}public OnFilterScriptInit(){ return 1;}CMD:kocsi(playerid){ShowPlayerDialog(playerid,DIALOG_KOCSI, DIALOG_STYLE_LIST, \"Kocsi menü\", \"NRG\\nElegy\", \"Megvásárlás\", \"Vissza\");return 1;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){ new Float: pos[5];if(dialogid == DIALOG_KOCSI){ switch(listitem) { case 0: { GetPlayerPos(playerid,pos[1],pos[2],pos[3]); GetPlayerFacingAngle(playerid,pos[4]); CreateVehicle(560,pos[1],pos[2],pos[3] +1,pos[4],-1,-1,-1); SetPlayerPos(playerid,pos[1],pos[2],pos[3] +3); } case 1: { GetPlayerPos(playerid,pos[1],pos[2],pos[3]); GetPlayerFacingAngle(playerid,pos[4]); CreateVehicle(562,pos[1],pos[2],pos[3] +1,pos[4],-1,-1,-1); SetPlayerPos(playerid,pos[1],pos[2],pos[3] +3); } }}return 1;}
Delta , kösz! TengeriMalac én személyszerint jobban szeretem a menüt mint a dialogot