/* * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ## * * Estè Simple FILTERSCRIPT esta hecho especialmente para www.forum.sa-mp.com * NO Publicar estè FILTERSCRIPT en Otros foros de SA-MP y hacerse pasar por el creador del CODE. * * Codigo Creado Por OTACON * * CREDITOS: * OTACON: Realizacion y Idea de creacion del code. * TÙ: Modificacion libremente respetando lo mencionado ;). * * NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;) * * Prohibido TOTALMENTE el Robo de Créditos o la * Publicación de este FILTERSCRIPT sin Mi Permiso. */ /* * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ## * * This simple FILTERSCRIPT is made especially for www.forum.sa-mp.com * DO NOT Post the FILTERSCRIPT in Other SAMP forums and impersonating the creator of the CODE. * * Code Created By OTACON * * CREDITS: * OTACON: Idea Making and code creation. * YOUR: Modification freely respecting the above ;). * * NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;) * * FULLY spaces Theft Credit or * Publication of this FILTERSCRIPT without my permission. */ #include #include //http://forum.sa-mp.com/showthread.php?t=412666 #include //http://forum.sa-mp.com/showthread.php?t=102865 #define TIMER:%0(%1) forward%0(%1); public%0(%1) #define COLOR_MONEY "{009200}" #define COLOR_NAME "{E982FF}" #define TIMER_FUNCTION (20*1000) #define MAX_STRIPS (17) new pichups_bitchs[2], create_bitchs[MAX_STRIPS], money_bitchs[10], Text3D:nick_npcs[MAX_STRIPS], timer_bitchs[2], CountFunctionNPC, Float:pos_bitchs[][]={ //bitchs {1208.2872,-5.1910,1001.3281,5.3267}, {1208.2670,-7.7789,1001.3281,180.1683}, {1208.4568,-6.1097,1001.3281,281.5848}, {1207.8387,-7.0308,1001.3281,69.1429}, {1213.4097,-4.2421,1001.3281,318.3261}, {1214.9423,-7.6089,1001.3281,93.1418}, {1218.2673,-7.7077,1001.3281,115.4931}, {1219.0439,-5.9736,1001.3281,34.0258}, {1222.7500,-6.5361,1001.3281,103.5864}, {1221.2284,8.5802,1001.3356,147.4301}, //guardias {1212.1567,2.3171,1000.9219,184.4679}, {1207.2274,-13.6282,1000.9219,0.4351}, //camadero {1214.9056,-15.2613,1000.9219,2.7967}, //clientes {1202.1729,0.1180,1000.9219,273.0953}, {1202.1559,-10.2154,1000.9219,180.1390}, {1215.0234,6.2095,1000.9219,276.0431} }, ropa_bitchs[]={75,85,87,63,64,152,178,238,237,244,246,256,257}, ropa_clientes[]={5,26,27,296,291,289,278,275,281,260,55,89,141,191,195,298}, /* ADVERTENCIA : cualquier similitud a la vida real es pura coincidencia. :D */ /* WARNING : any similarity to real life is purely coincidental. :D */ nameBOTS[][]={ /*bitch*/ { "adri1" }, { "jotajeda" }, { "iSanchez" }, { "Zume-Zero" }, { "Fluid016" }, { "BecksLennon" }, { "Juand" }, { "JustBored" }, { "DesingMyCry" }, { "[J]ulian" }, /*guard*/ { "Jupit3r" }, { "[DOG]irinel1996" }, /*waiter*/ { "EnzoMetlc" }, /*customer*/ { "OTACON" }, { "Parka" }, { "EduGTA" } }; /* ADVERTENCIA : cualquier similitud a la vida real es pura coincidencia. :D */ /* WARNING : any similarity to real life is purely coincidental. :D */ CreareStripsNPC(){ new asd[30],asdd[200]; pichups_bitchs[0] = CreateDynamicPickup(1240,1,1210.7977,5.1041,1000.9219); pichups_bitchs[1] = CreateDynamicPickup(1240,1,1204.8541,12.2254,1000.9219); KillTimer(timer_bitchs[0]); timer_bitchs[0]=SetTimer("FunctionNPC", TIMER_FUNCTION, true); KillTimer(timer_bitchs[1]); timer_bitchs[1]=SetTimer("MoneyNPC", 10*1000, true); for(new npcid=0; npcid< sizeof(create_bitchs); npcid++){ if(IsPlayerRNPC(npcid))continue; DestroyRNPC(create_bitchs[npcid]); format(asd, sizeof(asd), "%s_(%d)", nameBOTS[npcid],npcid); create_bitchs[npcid] = CreateRNPC(asd); DestroyDynamic3DTextLabel(nick_npcs[npcid]); nick_npcs[npcid] = CreateDynamic3DTextLabel("_", -1, 0.0, 0.0, 0.15, 5.0, npcid, INVALID_VEHICLE_ID, 0); switch(npcid){ case 0..9:{format(asdd, sizeof(asdd), "bitch: "COLOR_NAME"%s\n"COLOR_MONEY"money: $$$ %d", nameBOTS[npcid],money_bitchs[npcid]);} case 10..11:{format(asdd, sizeof(asdd), "guard: "COLOR_NAME"%s", nameBOTS[npcid]);} case 12:{format(asdd, sizeof(asdd), "waiter: "COLOR_NAME"%s", nameBOTS[npcid]);} case 13..15:{format(asdd, sizeof(asdd), "customer: "COLOR_NAME"%s", nameBOTS[npcid]);} }UpdateDynamic3DTextLabelText(nick_npcs[npcid], -1, asdd); } } TIMER: MoneyNPC(){ new asdd[200]; money_bitchs[random(10)]+=random(100); for(new npcid=0; npcid< sizeof(create_bitchs); npcid++){ if(!IsPlayerRNPC(npcid))continue; switch(npcid){ case 0..9:{ if(money_bitchs[npcid]>1000)money_bitchs[npcid]=0; format(asdd, sizeof(asdd), "bitch: "COLOR_NAME"%s\n"COLOR_MONEY"money: $$$ %d", nameBOTS[npcid],money_bitchs[npcid]);} }UpdateDynamic3DTextLabelText(nick_npcs[npcid], -1, asdd); } } TIMER: FunctionNPC(){ CountFunctionNPC++; for(new npcid=0; npcid< sizeof(create_bitchs); npcid++){ if(!IsPlayerRNPC(npcid))continue; ApplyAnimation(npcid,"STRIP","null",0.0,0,0,0,0,0,0); ApplyAnimation(npcid,"STRIP","null",0.0,0,0,0,0,0,0); switch(CountFunctionNPC){ case 1:{ SetPlayerPos(create_bitchs[npcid], pos_bitchs[npcid][0], pos_bitchs[npcid][1], pos_bitchs[npcid][2]); SetPlayerFacingAngle(create_bitchs[npcid], pos_bitchs[npcid][3]); } case 2:{ switch(npcid){ case 0..9:{SetPlayerSkin(create_bitchs[npcid], ropa_bitchs[random(sizeof(ropa_bitchs))]);} case 10..11:{SetPlayerSkin(create_bitchs[npcid], 164);} case 12:{SetPlayerSkin(create_bitchs[npcid], 189);} case 13..15:{SetPlayerSkin(create_bitchs[npcid], ropa_clientes[random(sizeof(ropa_clientes))]);} } } case 3:{ switch(npcid){ case 0..9:{ new asdd[20]; switch(random(4)){ case 0: asdd = "PUN_LOOP"; case 1: asdd = "strip_E"; case 2: asdd = "STR_Loop_A"; case 3: asdd = "STR_B2C";} ApplyAnimation(create_bitchs[npcid],"STRIP",asdd,4.0,1,0,0,0,0);} case 13..15:{ApplyAnimation(create_bitchs[npcid],"STRIP","PUN_LOOP",4.0,1,0,0,0,0);} } } default:KillTimer(timer_bitchs[0]), CountFunctionNPC=0; } } } public OnFilterScriptInit(){ AddPlayerClass(23,2405.8059,-1247.9685,23.8125,313.3872,0,0,0,0,0,0); //testing SendRconCommand("maxnpc 20"); CreareStripsNPC(); return true; }