#include <a_samp>#include <zcmd>new KCP[MAX_PLAYERS];new KLCP[MAX_PLAYERS];new kamionpic;#if defined FILTERSCRIPT#define COLOR_WHITE 0xFFFFFFAA#endifpublic OnGameModeInit(){kamionpic = CreatePickup(1318, 1,-1460.3281,2470.3105,61.9007);SetGameModeText(\"GTARPLife\");return 1;}public OnPlayerEnterCheckpoint(playerid){if (KCP[playerid] ==1){DisablePlayerCheckpoint(playerid);SendClientMessage(playerid,0xFFFFFFAA,\"*[Kamion]*:Felrakodtál!Menny és rakodj le!\"); SetPlayerCheckpoint(playerid,-731.0183,2762.9644,46.9978, 4.0);}if (KLCP[playerid] ==2){DisablePlayerCheckpoint(playerid);SendClientMessage(playerid,0xFFFFFFAA,\"*[Kamion]*:Lerakodtál!Jutalmad 15ezer ropogós $!\"); GivePlayerMoney(playerid, 15000); }return 1;}public OnPlayerPickUpPickup(playerid, pickupid){if( pickupid == kamionpic ){ ShowPlayerDialog(playerid,9956, DIALOG_STYLE_LIST, \"Kamionos munka\", \"Elfogad\\nElutasít\",\"Rendben\",\"Kilép\");}return 1;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(dialogid == 9956) { if(response) { if(listitem == 0) { SendClientMessage(playerid,0x400000FF,\"*[Kamion]*:Elfogadtad!\"); KCP[playerid] =1; SetPlayerCheckpoint(playerid,-1456.6750,2478.6863,61.8766, 4.0); SetPlayerSkin(playerid,202); } if(listitem == 1) { SendClientMessage(playerid, 0x400000FF,\"*[Kamion]*:Elutasítottad!\"); } return 0; }
#include <a_samp>#include <zcmd>new KCP[MAX_PLAYERS];new KLCP[MAX_PLAYERS];new kamionpic;#if defined FILTERSCRIPT#define COLOR_WHITE 0xFFFFFFAA#endifpublic OnGameModeInit(){ kamionpic = CreatePickup(1318, 1,-1460.3281,2470.3105,61.9007); SetGameModeText(\"GTARPLife\"); return 1;}public OnPlayerEnterCheckpoint(playerid){if (KCP[playerid] ==1){ DisablePlayerCheckpoint(playerid); SendClientMessage(playerid,0xFFFFFFAA,\"*[Kamion]*:Felrakodtál!Menny és rakodj le!\"); SetPlayerCheckpoint(playerid,-731.0183,2762.9644,46.9978, 4.0);}if (KLCP[playerid] ==2){ DisablePlayerCheckpoint(playerid); SendClientMessage(playerid,0xFFFFFFAA,\"*[Kamion]*:Lerakodtál!Jutalmad 15ezer ropogós $!\"); GivePlayerMoney(playerid, 15000); }return 1;}public OnPlayerPickUpPickup(playerid, pickupid){ if( pickupid == kamionpic ) { ShowPlayerDialog(playerid,9956, DIALOG_STYLE_LIST, \"Kamionos munka\", \"Elfogad\\nElutasít\",\"Rendben\",\"Kilép\");} return 1;}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){ if(dialogid == 9956) { if(response) { if(listitem == 0) { SendClientMessage(playerid,0x400000FF,\"*[Kamion]*:Elfogadtad!\"); KCP[playerid] =1; SetPlayerCheckpoint(playerid,-1456.6750,2478.6863,61.8766, 4.0); SetPlayerSkin(playerid,202); } if(listitem == 1) { SendClientMessage(playerid, 0x400000FF,\"*[Kamion]*:Elutasítottad!\"); } }} return 0;}