#include <a_samp>#define autovevo_feher 0xFFFFFFAAnew autovevo;public OnPlayerPickUpPickup(playerid, pickupid){ if(pickupid == autovevo) { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, \"Autó vevõ\", \"{ff0000}Infernus - 20000$\\n{00ffff}Sultan - 20000$\\n{ff8c00}Elegy - 20000$\\n{ffffff}NRG-500 - 1000$\",\"Megvesz\", \"Kilépés\"); }}public OnDialogResponse ( playerid, dialogid, response, listitem, inputtext [ ] ){{ if(response) { if(listitem == 1) { GivePlayerMoney(playerid, -20000); CreateVehicle(playerid,411,2396.2690,1034.5262,10.8203,268.8507, 0); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted az infernust! 20000$ -ba került!\"); } if(listitem == 2) { GivePlayerMoney(playerid, -20000); CreateVehicle(playerid,560,2396.2690,1034.5262,10.8203,268.8507, 0); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted a sultant! 20000$ -ba került!\"); } if(listitem == 3) { GivePlayerMoney(playerid, -20000); CreateVehicle(playerid,562,2396.2690,1034.5262,10.8203,268.8507, 0); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted az elegyet! 20000$ -ba került!\"); } if(listitem == 4) { SetPlayerArmour(playerid, 100); { GivePlayerMoney(playerid, -1000); CreateVehicle(playerid,522,2396.2690,1034.5262,10.8203,268.8507, 0); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted az NRG-500-at! 1000$ -ba került!\"); } }}else{ SendClientMessage(playerid, 0x400000FF, \"Kiléptél az autó vevõbõl.\"); }}return 1;}
E:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(21) : warning 213: tag mismatchE:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(21) : warning 202: number of arguments does not match definitionE:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(27) : warning 213: tag mismatchE:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(27) : warning 202: number of arguments does not match definitionE:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(33) : warning 213: tag mismatchE:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(33) : warning 202: number of arguments does not match definitionE:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(39) : warning 217: loose indentationE:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(41) : warning 213: tag mismatchE:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(41) : warning 202: number of arguments does not match definitionE:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(45) : warning 217: loose indentationE:\\Documents and Settings\\Krisz\\Asztal\\[R]endõr [A]cademy\\filterscripts\\Buy.pwn(49) : warning 217: loose indentationPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 11 Warnings.
#include <a_samp>#define autovevo_feher 0xFFFFFFAAnew autovevo;public OnPlayerPickUpPickup(playerid, pickupid){ if(pickupid == autovevo) { ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, \"Autó vevõ\", \"{ff0000}Infernus - 20000$\\n{00ffff}Sultan - 20000$\\n{ff8c00}Elegy - 20000$\\n{ffffff}NRG-500 - 1000$\",\"Megvesz\", \"Kilépés\"); }}public OnDialogResponse ( playerid, dialogid, response, listitem, inputtext [ ] ){{ if(response) { if(listitem == 1) { GivePlayerMoney(playerid, -20000); CreateVehicle(playerid,411,2396.2690,1034.5262,10.8203,268.8507, 0, 0, 0); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted az infernust! 20000$ -ba került!\"); } if(listitem == 2) { GivePlayerMoney(playerid, -20000); CreateVehicle(playerid,560,2396.2690,1034.5262,10.8203,268.8507, 0, 0, 0); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted a sultant! 20000$ -ba került!\"); } if(listitem == 3) { GivePlayerMoney(playerid, -20000); CreateVehicle(playerid,562,2396.2690,1034.5262,10.8203,268.8507, 0, 0, 0); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted az elegyet! 20000$ -ba került!\"); } if(listitem == 4) { SetPlayerArmour(playerid, 100); { GivePlayerMoney(playerid, -1000); CreateVehicle(playerid,522,2396.2690,1034.5262,10.8203,268.8507, 0, 0, 0); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted az NRG-500-at! 1000$ -ba került!\"); } }}else{ SendClientMessage(playerid, 0x400000FF, \"Kiléptél az autó vevõbõl.\"); }}return 1;}
#include <a_samp>#define autovevo_feher 0xFFFFFFAAnew autovevo;new Float:P[4];public OnFilterScriptInit(){autovevo = CreatePickup(1274, 2, 0.0, 0.0, 9.0); // 0.0, 0.0, 9.0 helyére a pickup helyét add meg!return 1;}public OnPlayerPickUpPickup(playerid, pickupid){if(pickupid == autovevo){ ShowPlayerDialog(playerid, 2, DIALOG_STYLE_LIST, \"Autó vevõ\", \"{ff0000}Infernus - 20000$\\n{00ffff}Sultan - 20000$\\n{ff8c00}Elegy - 20000$\\n{ffffff}NRG-500 - 1000$\",\"Megvesz\", \"Kilépés\"); } return 1;}public OnDialogResponse ( playerid, dialogid, response, listitem, inputtext [ ] ){GetPlayerPos(playerid,P[0],P[1],P[2]);GetPlayerFacingAngle(playerid, P[3]);if(dialogid == 2){if(response) { if(listitem == 0) { GivePlayerMoney(playerid, -20000); CreateVehicle(411,P[0],P[1],P[2], P[3], -1,-1,-1); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted az infernust! 20000$ -ba került!\"); } if(listitem == 1) { GivePlayerMoney(playerid, -20000); CreateVehicle(560,P[0],P[1],P[2], P[3], -1,-1,-1); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted a sultant! 20000$ -ba került!\"); } if(listitem == 2) { GivePlayerMoney(playerid, -20000); CreateVehicle(562,P[0],P[1],P[2], P[3], -1,-1,-1); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted az elegyet! 20000$ -ba került!\"); } if(listitem == 3) { SetPlayerArmour(playerid, 100); GivePlayerMoney(playerid, -1000); CreateVehicle(522,P[0],P[1],P[2], P[3], -1,-1,-1); SendClientMessage(playerid, autovevo_feher, \"Sikeresen megvetted az NRG-500-at! 1000$ -ba került!\"); } }}return 1;}