CMD:gpsvesz(playerid, params[]){new name[MAX_PLAYER_NAME];new dinicreate;GetPlayerName(playerid, name, sizeof(name));format(dinicreate, sizeof(dinicreate), \"GPS/%s.ini\", name);dini_Create(dinicreate);dini_IntSet(\"%s.ini\", \"GPS\", 1, name);Msg(\"Vettél egy GPS-t, $100.000-ért!\");GivePlayerMoney(playerid, -100000);return 1;}
CMD:gps(playerid, params[]){new name[MAX_PLAYER_NAME];GetPlayerName(playerid, name, sizeof(name));format(dinileker, sizeof(dinileker), \"GPS/%s.ini\", name);dini_Int(dinileker);if(\"GPS\" == 1){ShowPlayerDialog(playerid, Dialog_Gps, DIALOG_STYLE_LIST, \"GPS\", \"Farm\", \"Bekapcs\", \"Mégse\");}else Msg(\"Nincs GPS-ed! Vegyél egyet $100.000-ért /gpsvesz parancsal!\");return 1;}
//gpsveszC:\\DOCUME~1\\Viktor\\Asztal\\GTAJ~1\\FILTER~1\\tomi.pwn( : error 035: argument type mismatch (argument 1)C:\\DOCUME~1\\Viktor\\Asztal\\GTAJ~1\\FILTER~1\\tomi.pwn( : error 035: argument type mismatch (argument 1)C:\\DOCUME~1\\Viktor\\Asztal\\GTAJ~1\\FILTER~1\\tomi.pwn(10) : error 035: argument type mismatch (argument 1)C:\\DOCUME~1\\Viktor\\Asztal\\GTAJ~1\\FILTER~1\\tomi.pwn(12) : warning 202: number of arguments does not match definitionC:\\DOCUME~1\\Viktor\\Asztal\\GTAJ~1\\FILTER~1\\tomi.pwn(4) : warning 203: symbol is never used: \"dinicreate\"//gpsC:\\DOCUME~1\\Viktor\\Asztal\\GTAJ~1\\FILTER~1\\tomi.pwn(7) : error 017: undefined symbol \"dinileker\"C:\\DOCUME~1\\Viktor\\Asztal\\GTAJ~1\\FILTER~1\\tomi.pwn(7) : error 017: undefined symbol \"dinileker\"C:\\DOCUME~1\\Viktor\\Asztal\\GTAJ~1\\FILTER~1\\tomi.pwn(7) : error 029: invalid expression, assumed zeroC:\\DOCUME~1\\Viktor\\Asztal\\GTAJ~1\\FILTER~1\\tomi.pwn(7) : fatal error 107: too many error messages on one lineCompilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 7 Errors.
CMD:gpsvesz(playerid, params[]){new name[MAX_PLAYER_NAME];new dinicreate[64];GetPlayerName(playerid, name, sizeof(name));format(dinicreate, sizeof(dinicreate), \"GPS/%s.ini\", name);dini_Create(dinicreate);dini_IntSet(dinicreate, \"GPS\", 1);SendClientMessage(playerid, -1, \"Vettél egy GPS-t, $100.000-ért!\");GivePlayerMoney(playerid, -100000);return 1;}
CMD:gps(playerid, params[]){new name[MAX_PLAYER_NAME], dinileker[64];GetPlayerName(playerid, name, sizeof(name));format(dinileker, sizeof(dinileker), \"GPS/%s.ini\", name);if(dini_Int(dinileker, \"GPS\") == 1){ShowPlayerDialog(playerid, Dialog_Gps, DIALOG_STYLE_LIST, \"GPS\", \"Farm\", \"Bekapcs\", \"Mégse\");}else SendClientMessage(playerid, -1, \"Nincs GPS-ed! Vegyél egyet $100.000-ért /gpsvesz parancsal!\");return 1;}