09.03.2012, 13:36
*Description
It's a stripclub i made for a while ago.
*Notes
A streamer is recommended
*Video
[ame]http://www.youtube.com/watch?v=A9-lqxWCDuI&hd=1[/ame]
*The script
Filterscript
NPC scripts
Save this one as "barbot"
Save this one as "stand1"
Save this one as "stand2"
Save this one as "stand3"
Feedback please.
Enjoy.
It's a stripclub i made for a while ago.
*Notes
A streamer is recommended
*Video
[ame]http://www.youtube.com/watch?v=A9-lqxWCDuI&hd=1[/ame]
*The script
Filterscript
Код:
//----------------------------------------------------------------------------// ///// // // /////// ////// ////// // // // // // // //// // // ////// ///// // // // // // // // // /////// ////// ///// ////// Mapping. //----------------------------------------------------------------------------// #include <a_samp> #include <a_npc> //------------------------------------------------------------------------------ #define pickup_respawntime 20000//1000 = 1 second. //------------------------------------------------------------------------------ forward preload(playerid); forward dancerespawn(); //------------------------------------------------------------------------------ new dance; //------------------------------------------------------------------------------ public dancerespawn() { dance = CreatePickup(1314,1,1969.6046,387.7466,21.1437,-1); } //------------------------------------------------------------------------------ //Objects, Vehicles & Etc.. public OnFilterScriptInit() { print("Stripclub by FuseZ"); CreateObject(18259,1970.76525900,394.14624000,20.05774500,0.00000000,0.00000000,-183.91956683); //housebase CreateObject(5153,1967.93603500,403.62179600,17.47725900,-89.38141604,24.92366409,0.00000000); // CreateObject(5153,1972.33789100,403.50744600,17.47719600,-89.38141604,24.92366409,0.00000000); // CreateObject(5153,1976.03796400,401.40094000,17.45142700,-89.38141604,24.92366409,-90.24085273); // CreateObject(5153,1965.89856000,401.51345800,17.46171600,-89.38141604,24.92366409,89.38141604); // CreateObject(5153,1973.94055200,403.46472200,17.49695600,-89.38141604,24.92366409,0.00000000); // CreateObject(5153,1968.92883300,409.10479700,17.47912800,-90.24085273,24.06422740,0.00000000); // CreateObject(5153,1973.73852500,409.09619100,17.46991500,-90.24085273,24.06422740,0.00000000); // CreateObject(5153,1971.07763700,409.06518600,17.46739400,-90.24085273,23.20479070,0.00000000); // CreateObject(16151,1970.68261700,388.47811900,20.53543500,0.00000000,-0.85943669,-91.10028943); // CreateObject(1510,1969.22082500,389.54586800,21.17764100,0.00000000,0.00000000,0.00000000); // CreateObject(1716,1970.00610400,390.46337900,20.13086300,0.00000000,0.00000000,0.00000000); // CreateObject(1716,1968.61840800,390.52169800,20.14357000,0.00000000,0.00000000,0.00000000); // CreateObject(1502,1975.70031700,393.42639200,20.25962400,0.00000000,0.00000000,86.80310596); // CreateObject(1666,1973.36145000,389.59234600,21.22161900,0.00000000,0.00000000,0.00000000); // CreateObject(1667,1973.88354500,389.42132600,21.27344700,0.00000000,0.00000000,0.00000000); // CreateObject(1668,1970.52185100,389.37155200,21.30755800,0.00000000,0.00000000,0.00000000); // CreateObject(1951,1970.53564500,389.58178700,21.22902300,89.38135874,0.00000000,133.21280196); // CreateObject(1543,1973.22619600,389.65380900,21.13634100,0.00000000,0.00000000,0.00000000); // CreateObject(1738,1966.20361300,389.73980700,20.79831300,0.00000000,0.00000000,87.66248536); // CreateObject(3278,1972.67150900,387.04635600,21.99367700,0.00000000,0.00000000,-2.57831008); // CreateObject(3278,1968.13879400,387.20373500,21.99560000,0.00000000,0.00000000,-2.57831008); // CreateObject(3278,1968.77917500,403.45019500,21.99882700,0.00000000,0.00000000,-2.57831008); // CreateObject(3278,1973.26965300,403.39196800,21.99475500,0.00000000,0.00000000,-2.57831008); // CreateObject(3278,1975.97436500,399.81631500,21.99368500,0.00000000,0.00000000,-93.67865680); // CreateObject(3278,1975.61657700,389.54553200,22.01156600,0.00000000,0.00000000,-91.10034672); // CreateObject(3278,1965.87268100,389.90493800,21.99428700,0.00000000,0.00000000,-91.10034672); // CreateObject(3278,1965.97912600,399.87106300,22.01546900,0.00000000,0.00000000,-91.10034672); // CreateObject(1485,1969.08764600,389.56933600,21.20511600,97.97578297,0.00000000,0.00000000); // CreateObject(3503,1967.59204100,395.89480600,21.86678300,0.00000000,0.00000000,-9.45380362); //pole1 CreateObject(14809,1971.21118200,398.51907300,21.56012500,0.00000000,0.00000000,171.88768231); //stripperbase CreateObject(3503,1970.85925300,402.02774000,21.98473000,0.00000000,0.00000000,-12.89155039); //pole2 CreateObject(2292,1966.84973100,402.84079000,20.14223900,0.00000000,0.00000000,0.00000000); // CreateObject(2291,1967.28796400,402.84008800,20.14223900,0.00000000,0.00000000,0.00000000); // CreateObject(2292,1968.72302200,402.84213300,20.14223900,0.00000000,0.00000000,-90.24085273); // CreateObject(2291,1966.85632300,401.39679000,20.14223900,0.00000000,0.00000000,89.38141604); // CreateObject(2291,1966.85668900,400.46447800,20.14223900,0.00000000,0.00000000,89.38141604); // CreateObject(2292,1966.85546900,400.00921600,20.14223900,0.00000000,0.00000000,88.52197935); // CreateObject(2596,1969.75280800,387.70553600,22.31279200,0.00000000,0.00000000,178.76300397); // CreateObject(1819,1967.61511200,400.89456200,20.14347300,0.00000000,0.00000000,0.00000000); // CreateObject(2232,1975.05847200,392.55212400,20.74155800,0.00000000,0.00000000,-103.99183982); // CreateObject(2104,1975.14440900,391.65731800,20.14096100,0.00000000,0.00000000,-91.10028943); // CreateObject(2232,1975.01513700,391.17678800,20.74155800,0.00000000,0.00000000,-78.20873904); // CreateObject(2344,1970.05285600,387.68673700,21.20375400,0.00000000,0.00000000,0.00000000); // CreateObject(3525,1976.40686000,402.09875500,21.68130300,0.00000000,0.00000000,91.10028943); // CreateObject(3525,1976.25903300,396.38522300,21.70575700,0.00000000,0.00000000,91.10028943); // CreateObject(3525,1976.17065400,391.97799700,21.75704800,0.00000000,0.00000000,91.10028943); // CreateObject(3525,1976.03601100,387.35217300,21.74885600,0.00000000,0.00000000,91.10028943); // CreateObject(16779,1970.76757800,391.76089500,23.37855700,0.00000000,0.00000000,0.00000000); // CreateObject(2222,1968.39428700,401.24331700,20.72749300,0.00000000,0.00000000,0.00000000); //donuts CreateObject(2880,1972.21374500,389.66525300,21.13202300,-22.34535401,-85.94366927,55.86338503); // CreateObject(646,1966.68359400,398.41247600,21.56020700,0.00000000,0.00000000,65.31718864); // CreateObject(664,1984.13781700,416.54937700,15.51920700,0.00000000,0.00000000,0.00000000); // //------------------------------------------------------------------------------ //Vehicle AddStaticVehicle(568,1973.7183,406.2982,18.0427,92.5137,25,114); // bandito //------------------------------------------------------------------------------ //NPC's ConnectNPC("bot0","barbot"); ConnectNPC("bot1","stand1"); ConnectNPC("bot2","stand2"); ConnectNPC("bot3","stand3"); //------------------------------------------------------------------------------ dancerespawn(); return 1; } //------------------------------------------------------------------------------ //Commands public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/2013", cmdtext, true, 10) == 0) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,1978.3102,383.8309,21.8715); SetPlayerFacingAngle(playerid,0); SetPlayerTime(playerid,21,00); return 1; } if (strcmp("/strip3", cmdtext, true, 10) == 0) //16 { ClearAnimations(playerid); ApplyAnimation (playerid,"STRIP","STR_C2",4,1,0,0,0,0); return 1; } if (strcmp("/strip2", cmdtext, true, 10) == 0) //18 { ClearAnimations(playerid); ApplyAnimation (playerid,"STRIP","STR_Loop_A",4,1,0,0,0,0); return 1; } if (strcmp("/strip1", cmdtext, true, 10) == 0) //20 { ClearAnimations(playerid); ApplyAnimation (playerid,"STRIP","STR_Loop_C",4,1,0,0,0,0); return 1; } return 0; } //------------------------------------------------------------------------------ //BotSpawn public OnPlayerSpawn(playerid) { ApplyAnimation(playerid,"STRIP","null",0.0,0,0,0,0,0,1); { if(!IsPlayerNPC(playerid)) return 1; new playername[64]; GetPlayerName(playerid,playername,64); SetPlayerColor(playerid,0xFFFFFF00); if(!strcmp(playername,"bot0",true)) { SetPlayerPos(playerid,1971.7592,388.6446,21.1437); SetPlayerFacingAngle(playerid,0); SetPlayerSkin(playerid,188); } else if(!strcmp(playername,"bot1",true)) { SetPlayerPos(playerid,1967.5193,395.3029,21.5836); SetPlayerFacingAngle(playerid,267.9429); SetPlayerSkin(playerid,246); } else if(!strcmp(playername,"bot2",true)) { SetPlayerPos(playerid,1974.3167,397.0069,21.6851); SetPlayerFacingAngle(playerid,356.9304); SetPlayerSkin(playerid,152); } else if(!strcmp(playername,"bot3",true)) { SetPlayerSkin(playerid,256); SetPlayerPos(playerid,1971.5166,402.2400,21.6851); SetPlayerFacingAngle(playerid,123.5182); } } return 1; } //------------------------------------------------------------------------------ //Preload anims. public preload(playerid) { ApplyAnimation(playerid,"STRIP","null",0.0,0,0,0,0,0,1); return 1; } //------------------------------------------------------------------------------ //Manual Pickup. public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == dance) { for ( new i = 0; i != MAX_PLAYERS; ++i ) { new name[MAX_PLAYER_NAME]; GetPlayerName(i, name, MAX_PLAYER_NAME); if(!strcmp(name, "bot1", true)) { ClearAnimations(i); ApplyAnimation (i,"STRIP","STR_Loop_C",4,1,0,0,0,0); } if(!strcmp(name, "bot2", true)) { ClearAnimations(i); ApplyAnimation (i,"STRIP","STR_C2",4,1,0,0,0,0); } if(!strcmp(name, "bot3", true)) { ClearAnimations(i); ApplyAnimation (i,"STRIP","STR_Loop_A",4,1,0,0,0,0); } } DestroyPickup(dance); SetTimer("dancerespawn",pickup_respawntime,false); } return 1; }
Save this one as "barbot"
Код:
#include <a_npc> public OnPlayerStreamIn(playerid) { return 1; }
Код:
#include <a_npc> public OnPlayerStreamIn(playerid) { SendCommand("/strip1"); return 1; }
Код:
#include <a_npc> public OnPlayerStreamIn(playerid) { SendCommand("/strip2"); return 1; }
Код:
#include <a_npc> public OnPlayerStreamIn(playerid) { SendCommand("/strip3"); return 1; }
Enjoy.