Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #define PlayPlayerSound PlayerPlaySound
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- public OnGameModeInit()
- {
- // Don't use these lines if it's a filterscript
- SetGameModeText("Blank Script");
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/sounds", cmdtext, true, 10) == 0)
- {
- ShowPlayerDialog(playerid,1125,DIALOG_STYLE_LIST,"IDcka","1002\n1009\n1020\n1021\n1022\n1027\n1035\n1036\n1039\n1052\n1053\n1054\n1055\n1056\n1057\n1058\n1062\n1063\n1068\n1069\n1076\n1077\n1083","Vybrat","Dale");
- return 1;
- }
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- if(dialogid == 1125)
- {
- if(response == 1)
- {
- if(listitem == 0)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1002,x,y,z);
- }
- if(listitem == 1)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1009,x,y,z);
- }
- if(listitem == 2)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1020,x,y,z);
- }
- if(listitem == 3)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1021,x,y,z);
- }
- if(listitem == 4)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1022,x,y,z);
- }
- if(listitem == 5)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1027,x,y,z);
- }
- if(listitem == 6)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1035,x,y,z);
- }
- if(listitem == 7)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1036,x,y,z);
- }
- if(listitem == 8)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1039,x,y,z);
- }
- if(listitem == 9)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1052,x,y,z);
- }
- if(listitem == 10)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1053,x,y,z);
- }
- if(listitem == 11)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1054,x,y,z);
- }
- if(listitem == 12)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1055,x,y,z);
- }
- if(listitem == 13)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1056,x,y,z);
- }
- if(listitem == 14)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1057,x,y,z);
- }
- if(listitem == 15)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1058,x,y,z);
- }
- if(listitem == 16)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1062,x,y,z);
- }
- if(listitem == 17)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1063,x,y,z);
- }
- if(listitem == 18)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1068,x,y,z);
- }
- if(listitem == 19)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1069,x,y,z);
- }
- if(listitem == 20)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1076,x,y,z);
- }
- if(listitem == 21)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1077,x,y,z);
- }
- if(listitem == 22)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1083,x,y,z);
- }
- }
- else if(response == 0)
- {
- ShowPlayerDialog(playerid,1126,DIALOG_STYLE_LIST,"ID Zvukù","1084\n1085\n1095\n1097\n1098\n1100\n1101\n1130\n1131\n1132\n1133\n1134\n1135\n1136\n1137\n1138\n1139\n1140\n1141\n1142\n1143\n1144\n1145\n1147\n1148\n1149\n1150\n1153\n1154\n1163\n1165\n1166\n1169\n1183\n1184\n1185\n1186\n1187\n1188\n1190","Vybrat","Nic");
- }
- }
- if(dialogid == 1126)
- {
- if(response == 1)
- {
- if(listitem == 0)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1084,x,y,z);
- }
- if(listitem == 1)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1085,x,y,z);
- }
- if(listitem == 2)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1095,x,y,z);
- }
- if(listitem == 3)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1097,x,y,z);
- }
- if(listitem == 4)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1098,x,y,z);
- }
- if(listitem == 5)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1100,x,y,z);
- }
- if(listitem == 6)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1101,x,y,z);
- }
- if(listitem == 7)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1130,x,y,z);
- }
- if(listitem == 8)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1131,x,y,z);
- }
- if(listitem == 9)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1132,x,y,z);
- }
- if(listitem == 10)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1133,x,y,z);
- }
- if(listitem == 11)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1134,x,y,z);
- }
- if(listitem == 12)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1135,x,y,z);
- }
- if(listitem == 13)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1136,x,y,z);
- }
- if(listitem == 14)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1137,x,y,z);
- }
- if(listitem == 15)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1138,x,y,z);
- }
- if(listitem == 16)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1138,x,y,z);
- }
- if(listitem == 17)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1139,x,y,z);
- }
- if(listitem == 18)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1140,x,y,z);
- }
- if(listitem == 19)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1141,x,y,z);
- }
- if(listitem == 20)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1142,x,y,z);
- }
- if(listitem == 21)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1143,x,y,z);
- }
- if(listitem == 22)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1144,x,y,z);
- }
- if(listitem == 23)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1145,x,y,z);
- }
- if(listitem == 24)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1147,x,y,z);
- }
- if(listitem == 24)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1148,x,y,z);
- }
- if(listitem == 25)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1149,x,y,z);
- }
- if(listitem == 26)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1150,x,y,z);
- }
- if(listitem == 27)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1153,x,y,z);
- }
- if(listitem == 28)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1154,x,y,z);
- }
- if(listitem == 29)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1163,x,y,z);
- }
- if(listitem == 30)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1165,x,y,z);
- }
- if(listitem == 31)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1166,x,y,z);
- }
- if(listitem == 32)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1169,x,y,z);
- }
- if(listitem == 33)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1183,x,y,z);
- }
- if(listitem == 34)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1184,x,y,z);
- }
- if(listitem == 35)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1185,x,y,z);
- }
- if(listitem == 36)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1186,x,y,z);
- }
- if(listitem == 37)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1187,x,y,z);
- }
- if(listitem == 38)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1188,x,y,z);
- }
- if(listitem == 39)
- {
- new Float:x,Float:y,Float:z;
- GetPlayerPos(playerid,x,y,z);
- PlayPlayerSound(playerid,1190,x,y,z);
- }
- }
- }
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement