Sall comunitate samp am facut un gm deathmatch pt cei mai slabi la scripting dar nu cred ca pe samp.ro sunt slabi orcum gmul are 453 sau 458 nici nu mai stiu de lini :grin: mio venit ideeea sa fac un gm la plictiseala cand eram pe veceu si mha jucam COD psp ) http://www.2shared.com/file/SJtmuq7e/COD.html Imi pare rau ca e asa de scurt si nu am adaugat mapeee ) [pawn] //=====================================Call of dudy by NoSound================== //====================Server made in 2012======================================= #include <a_samp> new Text:Textdraw23; new Text:Textdraw0; new Text:Textdraw1; new Text:Textdraw2; new Text:Textdraw3; new Text:Textdraw4; new Text:Textdraw5; new Text:Textdraw6; new Text:Textdraw7; #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" GameMode Call Of DuDy"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" GameMode Call Of Dudy"); print("----------------------------------\n"); } #endif public OnGameModeInit() { Textdraw23 = TextDrawCreate(499.000000, 129.000000, "COD by NoSound"); TextDrawBackgroundColor(Textdraw23, 255); TextDrawFont(Textdraw23, 1); TextDrawLetterSize(Textdraw23, 0.200000, 0.999999); TextDrawColor(Textdraw23, 0xE01B46); TextDrawSetOutline(Textdraw23, 0); TextDrawSetProportional(Textdraw23, 1); TextDrawSetShadow(Textdraw23, 1); TextDrawUseBox(Textdraw23, 1); TextDrawBoxColor(Textdraw23, 0x00000076); TextDrawTextSize(Textdraw23, 606.000000, -2.000000); Textdraw0 = TextDrawCreate(544.000000, 29.000000, "NoSound"); TextDrawBackgroundColor(Textdraw0, 255); TextDrawFont(Textdraw0, 1); TextDrawLetterSize(Textdraw0, 0.250000, 1.000000); TextDrawColor(Textdraw0, -16776961); TextDrawSetOutline(Textdraw0, 0); TextDrawSetProportional(Textdraw0, 1); TextDrawSetShadow(Textdraw0, 1); Textdraw1 = TextDrawCreate(549.000000, 37.000000, "Call Of Dudy"); TextDrawBackgroundColor(Textdraw1, 255); TextDrawFont(Textdraw1, 1); TextDrawLetterSize(Textdraw1, 0.200000, 1.000000); TextDrawColor(Textdraw1, 16711935); TextDrawSetOutline(Textdraw1, 0); TextDrawSetProportional(Textdraw1, 1); TextDrawSetShadow(Textdraw1, 1); Textdraw2 = TextDrawCreate(799.000000, 429.000000, "New Textdraw"); TextDrawBackgroundColor(Textdraw2, 255); TextDrawFont(Textdraw2, 1); TextDrawLetterSize(Textdraw2, 0.500000, 1.100000); TextDrawColor(Textdraw2, 623919375); TextDrawSetOutline(Textdraw2, 0); TextDrawSetProportional(Textdraw2, 1); TextDrawSetShadow(Textdraw2, 1); TextDrawUseBox(Textdraw2, 1); TextDrawBoxColor(Textdraw2, -216); TextDrawTextSize(Textdraw2, -257.000000, 2.000000); Textdraw3 = TextDrawCreate(530.000000, 431.000000, "www.COD.own0.com"); TextDrawBackgroundColor(Textdraw3, 255); TextDrawFont(Textdraw3, 1); TextDrawLetterSize(Textdraw3, 0.270000, 1.100000); TextDrawColor(Textdraw3, 16711935); TextDrawSetOutline(Textdraw3, 1); TextDrawSetProportional(Textdraw3, 1); Textdraw4 = TextDrawCreate(1.000000, 426.000000, "2012-2013"); TextDrawBackgroundColor(Textdraw4, 255); TextDrawFont(Textdraw4, 1); TextDrawLetterSize(Textdraw4, 0.230000, 0.899999); TextDrawColor(Textdraw4, -1); TextDrawSetOutline(Textdraw4, 1); TextDrawSetProportional(Textdraw4, 1); Textdraw5 = TextDrawCreate(128.000000, 425.000000, "I"); TextDrawBackgroundColor(Textdraw5, 255); TextDrawFont(Textdraw5, 2); TextDrawLetterSize(Textdraw5, 0.500000, 2.500000); TextDrawColor(Textdraw5, -16776961); TextDrawSetOutline(Textdraw5, 1); TextDrawSetProportional(Textdraw5, 1); Textdraw6 = TextDrawCreate(511.000000, 425.000000, "I"); TextDrawBackgroundColor(Textdraw6, 255); TextDrawFont(Textdraw6, 2); TextDrawLetterSize(Textdraw6, 0.500000, 2.500000); TextDrawColor(Textdraw6, -16776961); TextDrawSetOutline(Textdraw6, 1); TextDrawSetProportional(Textdraw6, 1); Textdraw7 = TextDrawCreate(164.000000, 433.000000, "Call Of Dudy (( War or die ))"); TextDrawBackgroundColor(Textdraw7, 255); TextDrawFont(Textdraw7, 1); TextDrawLetterSize(Textdraw7, 0.500000, 1.000000); TextDrawColor(Textdraw7, -1); TextDrawSetOutline(Textdraw7, 1); TextDrawSetProportional(Textdraw7, 1); SetGameModeText("Ultimate Cod"); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { return 1; } public OnPlayerConnect(playerid) { new res22[500], iName[128]; GetPlayerName(playerid,iName,sizeof(iName)); format(res22,sizeof(res22),"{F81414}Welcome {FFFFFF} %s {F81414}please register\n{F81414}You like? put to favorite server",iName); ShowPlayerDialog(playerid,9944,DIALOG_STYLE_MSGBOX,"{FF0000} Welcome",res22,"Ok",""); TextDrawShowForPlayer(playerid, Textdraw23); TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); TextDrawShowForPlayer(playerid, Textdraw2); TextDrawShowForPlayer(playerid, Textdraw3); TextDrawShowForPlayer(playerid, Textdraw4); TextDrawShowForPlayer(playerid, Textdraw5); TextDrawShowForPlayer(playerid, Textdraw6); TextDrawShowForPlayer(playerid, Textdraw7); return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Category", "{F81414}Swat {F81414}\n{F3FF02}Japaneze {F81414}\n{00C0FF}Russian{F81414}\n{F81414}American", "O iau!", "Cancel"); return 1; } public OnPlayerDeath(playerid, killerid, reason) { new pname[ MAX_PLAYER_NAME ] ; GetPlayerName(playerid,pname,MAX_PLAYER_NAME); new killername[ MAX_PLAYER_NAME ] ; GetPlayerName(killerid, killername, MAX_PLAYER_NAME); new string[256]; format(string,sizeof(string),"Playerul %s la inpuscat pe : %s[id:%d] si a primit bani si scor",killername,pname,playerid); GivePlayerMoney(playerid,5000000); SetPlayerScore(playerid,10000); GameTextForPlayer(playerid, "~n~~n~~y~Morty Kill",3000,1); 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("/camuflaj", cmdtext, true, 10) == 0) { SetPlayerAttachedObject( playerid, 0, 647, 1, 0.037538, 0.000000, -0.020199, 350.928314, 89.107200, 180.974227, 1.000000, 1.000000, 1.000000 ); // CJ_HIPPO_BIN - /hippo GameTextForPlayer(playerid, "~w~Camuflaj~b~ /coff!...", 2000, 3); GivePlayerWeapon(playerid,34,145); GameTextForPlayer(playerid, "~n~~n~~y~/coff~b~+sniper",3000,1); // Do something here return 1; } if (strcmp("/coff", cmdtext, true, 10) == 0) { for(new i;i<5;i++) RemovePlayerAttachedObject(playerid,i); GameTextForPlayer(playerid, "~w~Camuflaj~b~ off!...", 2000, 3); // Do something here return 1; } if (strcmp("/credits", cmdtext, true, 10) == 0) { new res22[500], iName[128]; GetPlayerName(playerid,iName,sizeof(iName)); format(res22,sizeof(res22),"{FF0000}Owner\n{FFFFFF}[M3b]NoSound\n{FF0000}Scripter GM\n{FFFFFF}[M3b]NoSound\n{FF0000}\n{0088FF} Si{FF0000} %s{0088FF} pentru Ca Joaca Pe Server",iName); ShowPlayerDialog(playerid,9944,DIALOG_STYLE_MSGBOX,"{FF0000} Credits",res22,"Ok",""); // Do something here return 1; } if (strcmp("/rules", cmdtext, true, 10) == 0) { new res22[500], iName[128]; GetPlayerName(playerid,iName,sizeof(iName)); format(res22,sizeof(res22),"{0049FF}Salut{FF0000} %s{0049FF} uite care sunt regulile\n{6EF83C}Fara hack oricine stie )\n{6EF83C}Nu injura asta e o prostie cum rezista lumea fara injurat\n{6EF83C}NU face spam ee ce 2 floduri merge",iName); ShowPlayerDialog(playerid,9944,DIALOG_STYLE_MSGBOX,"{FF0000} Credits",res22,"Ok",""); // Do something here 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 == 1) { if(response) { if(listitem == 0) { SetPlayerSkin(playerid,285); SetPlayerPos(playerid,1889.5060,1418.5238,72.6059); GameTextForPlayer(playerid,"~h~~w~SWAT",2500,1); GivePlayerWeapon(playerid,31,23222); GivePlayerWeapon(playerid,46,23222); GivePlayerWeapon(playerid,53,10000); GivePlayerWeapon(playerid,29,23222); new BigString[1900]; strcat(BigString, " \n", 1900 ); strcat(BigString, "You are {00FFBF} Swat{FFFFFF} Soldier \n", 1900 ); strcat(BigString, "your enemies{00FFBF} is{FFFFFF} Russian and Japaneze {00FFBF} Go to base Russian and Japaneze{FFFFFF}! {FFFF33} \n", 1900 ); strcat(BigString, "Pt{00FFBF} a{FFFFFF} nu te descoperi scrie {00FFBF} /camuflaj{FFFFFF}! {FFFF33} \n", 1900 ); ShowPlayerDialog(playerid, 123, DIALOG_STYLE_MSGBOX, "{FC0303}Reclama{FC0303}", BigString, "OK","Cancel"); } if(listitem == 1) { SetPlayerSkin(playerid,123); SetPlayerPos(playerid,2024.7242,1009.0364,10.8203); GameTextForPlayer(playerid,"~h~~w~JAPANEZE",2500,1); GivePlayerWeapon(playerid,33,23222); GivePlayerWeapon(playerid,30,23222); GivePlayerWeapon(playerid,22,10000); GivePlayerWeapon(playerid,23,23222); new BigString[1900]; strcat(BigString, " \n", 1900 ); strcat(BigString, "You are {00FFBF} Japaneze{FFFFFF} Soldier \n", 1900 ); strcat(BigString, "your enemies{00FFBF} is{FFFFFF} Swat and American {00FFBF} Go to base swat and japaneze{FFFFFF}! {FFFF33} \n", 1900 ); strcat(BigString, "Pt{00FFBF} a{FFFFFF} nu te descoperi scrie {00FFBF} /camuflaj{FFFFFF}! {FFFF33} \n", 1900 ); ShowPlayerDialog(playerid, 123, DIALOG_STYLE_MSGBOX, "{FC0303}Reclama{FC0303}", BigString, "OK","Cancel"); } if(listitem == 2) { SetPlayerSkin(playerid,179); SetPlayerPos(playerid,-2520.7932,1219.5449,37.4283); GameTextForPlayer(playerid,"~h~~w~RUSSIAN",2500,1); GivePlayerWeapon(playerid,25,23222); GivePlayerWeapon(playerid,16,23222); GivePlayerWeapon(playerid,24,10000); GivePlayerWeapon(playerid,28,23222); new BigString[1900]; strcat(BigString, " \n", 1900 ); strcat(BigString, "You are {00FFBF} Russian{FFFFFF} Soldier \n", 1900 ); strcat(BigString, "your enemies{00FFBF} is{FFFFFF} Swat and American {00FFBF} Go to base swat and japaneze{FFFFFF}! {FFFF33} \n", 1900 ); strcat(BigString, "Pt{00FFBF} a{FFFFFF} nu te descoperi scrie {00FFBF} /camuflaj{FFFFFF}! {FFFF33} \n", 1900 ); ShowPlayerDialog(playerid, 123, DIALOG_STYLE_MSGBOX, "{FC0303}Reclama{FC0303}", BigString, "OK","Cancel"); } if(listitem == 3) { SetPlayerSkin(playerid,287); SetPlayerPos(playerid,-2474.3918,1549.8944,33.2273); GameTextForPlayer(playerid,"~h~~w~AMERICAN",2500,1); GivePlayerWeapon(playerid,26,23222); GivePlayerWeapon(playerid,16,23222); GivePlayerWeapon(playerid,24,10000); GivePlayerWeapon(playerid,28,23222); new BigString[1900]; strcat(BigString, " \n", 1900 ); strcat(BigString, "You are {00FFBF} American{FFFFFF} Soldier \n", 1900 ); strcat(BigString, "Your enemies{00FFBF} is{FFFFFF} Russian and Japaneze {00FFBF} Go to base Japaneze and Russian{FFFFFF}! {FFFF33} \n", 1900 ); strcat(BigString, "Pt{00FFBF} a{FFFFFF} nu te descoperi scrie {00FFBF} /camuflaj{FFFFFF}! {FFFF33} \n", 1900 ); ShowPlayerDialog(playerid, 123, DIALOG_STYLE_MSGBOX, "{FC0303}Reclama{FC0303}", BigString, "OK","Cancel"); } } } return 1; } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { return 1; }[/pawn]