D:\\Trucking_Server_2.0\\gamemodes\\Trucking.pwn(403) : error 001: expected token: \"}\", but found \"-string-\"D:\\Trucking_Server_2.0\\gamemodes\\Trucking.pwn(404) : error 010: invalid function or declarationPawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 2 Errors.
new Msgs[][] ={\"[sEGÍTSÉG]Hasznos parancsok: /help /phelp /cmds /credits /rules\",\"[iNFÓ] A szerver weboldala: trucking.fw.hu\"};
D:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(17) : error 010: invalid function or declarationD:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(19) : error 010: invalid function or declarationD:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(21) : error 010: invalid function or declarationD:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(23) : error 010: invalid function or declarationD:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(24) : error 010: invalid function or declarationD:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(25) : error 010: invalid function or declarationD:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(26) : error 010: invalid function or declarationD:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(27) : error 010: invalid function or declarationD:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(32) : error 021: symbol already defined: \"GetPlayerName\"D:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(36) : error 010: invalid function or declarationD:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(41) : error 010: invalid function or declarationD:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(44) : warning 203: symbol is never used: \"name\"D:\\Trucking_Server_2.0\\filterscripts\\tele.pwn(44) : warning 203: symbol is never used: \"string\"Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 14 Errors.
#include <a_samp>#include <fixchars.h>#define DIALOG_TELES 107444public OnPlayerCommandText(playerid, cmdtext[]){if(!strcmp(\"/rescue\", cmdtext, true)){ ShowPlayerDialog(playerid, DIALOG_TELES, DIALOG_STYLE_LIST, \"Teleportok\", \"KACC\\nWethstone\\nBánya\\nDoherty Depo\\n Truck shop\", \"Kiválaszt\", \"Mégse\");return 1;}return 0;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(dialogid == DIALOG_TELES){if(response == 1){ switch(listitem) { case 0: SetPlayerPos(playerid, 2777.9277,2590.2505,10.8203); case 1: SetPlayerPos(playerid, -1583.5469,-2730.4944,48.5391); case 2: SetPlayerPos(playerid, 330.9258,900.0286,24.6015); case 3: SetPlayerPos(playerid, -2185.5962,-211.6362,36.5156); case 4: SetPlayerPos(playerid, 605.6434,1677.9268,6.9922); } new name[MAX_PLAYER_NAME], string[64]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), \"%s elteleportált %s nevu helyre.\", name, inputtext); // Ha a dialóg lista, akkor az inputtext a lista címét adja vissza. SendClientMessageToAll(0x0ffff, string);}else{ SendClientMessage(playerid, 0xF97804FF, \"Kiléptél a teleport választó menübol!\");}}return 1;}
#include <a_samp>#include <fixchars.h>#include <zcmd>#define DIALOG_TELES 52CMD:rescue(playerid, params[]){ShowPlayerDialog(playerid, DIALOG_TELES, 2, \"Teleportok\", \"KACC\\nWethstone\\nBánya\\nDoherty Depo\\n Truck shop\", \"Kiválaszt\", \"Mégse\");return 1;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(dialogid == DIALOG_TELES){if(response == 1){ switch(listitem) { case 0: SetPlayerPos(playerid, 2777.9277,2590.2505,10.8203); case 1: SetPlayerPos(playerid, -1583.5469,-2730.4944,48.5391); case 2: SetPlayerPos(playerid, 330.9258,900.0286,24.6015); case 3: SetPlayerPos(playerid, -2185.5962,-211.6362,36.5156); case 4: SetPlayerPos(playerid, 605.6434,1677.9268,6.9922); } new name[MAX_PLAYER_NAME], string[64]; GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string), \"%s elteleportált %s nevu helyre.\", name, inputtext); // Ha a dialóg lista, akkor az inputtext a lista címét adja vissza. SendClientMessageToAll(0x0ffff, string);}else{ SendClientMessage(playerid, 0xF97804FF, \"Kiléptél a teleport választó menübol!\");}}return 1;}