[FilterScript] GlassesShop
#1

Description:
This filterscript in essence is a glasses shop.
When you enter the command, you are teleported to Binco infront of a mirror and you can choose glasses.
Glasses' price is $100. As soon as you buy glasses and exit the shop, you get teleported back to your location.
Controls:
/glasses command - to the dressing room.
"Left" key- choose previous glasses.
"Right" key - choose next glasses.
"Sprint" key - buy glasses.
"Enter/exit a car" key - Exit the shop.
Settings:
To change the glasses' price change #define GLASSES_COST value to your own.
Author: sk47(me)
Date:02.12.2010
Attention! Script works only for version 0.3c
Pastebin
New version: Added a TextDraw with hints.
TextDraw's author: SlootLite
Pastebin V2
Date:09.05.2011
Screenshots:


Reply
#2

Good Job, The arrow keys comes in handy.
Reply
#3

Nice
Reply
#4

my windows ditected a virus in the website where you hosted the image's :\
but anyway its look good
GJ


lol you have a little fail :
pawn Код:
if(PRESSED(KEY_SPRINT) && GetPVarInt(playerid,"BuyGlasses") == 1)
        {
                if(GetPlayerMoney(playerid) < GLASSES_COST) return
                SendClientMessage(playerid,0xFFFFFFFF,"У вас не хватает денег"); // its in russian
              //SendClientMessage(playerid,0xFFFFFFFF,"You Dont Have Enough Money!"); Translated :)
                RemovePlayerAttachedObject(playerid, 2);
                SetPlayerAttachedObject(playerid,2,Glasses[playerid], 2, 0.1, 0.03, 0.0, 0.0, 90.0, 90.0);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)