[FilterScript] Buying clothes from shop[MF_Skins]
#21

ty
Reply
#22

There is a new version.
You can download it from here

SolidFiles
MediaFire
Reply
#23

Nice! Bro!
Reply
#24

Nice i use this
Reply
#25

Thx
Reply
#26

Gang skins super
Reply
#27

Thanks
Reply
#28

Nice script but don't you think there is a little problem
Code:
case 0:
    	    {
	        	SetPlayerSkin(playerid,40);
	        	GivePlayerMoney(playerid,-1000);
				SendClientMessage(playerid,0xFF9900AA,"« You have bought this dress for $1000 »");
Dont you think you should use GetPlayerMoney?
for something like
Code:
        //under case 0 or 1 or 2 or .....
        if(GetPlayerMoney(playerid) < 1000)
        {
            SendClientMessage(playerid, COLOR_RED, "Hey looser, get some cash first");
        }
        else
        {
            SendClientMessage(playerid,0xFF9900AA, "« You have bought this dress for $1000 »");
            GivePlayerMoney(playerid,-1000);
        }
        return 1;
    }
because your code will give the player a skin even if he doesn't have cash and will take his cash too negative value, but the above code will check the player's cash before giving him a skin. Hope you understand the point.
Reply
#29

Quote:
Originally Posted by suhrab_mujeeb
View Post
Nice script but don't you think there is a little problem
Code:
case 0:
    	    {
	        	SetPlayerSkin(playerid,40);
	        	GivePlayerMoney(playerid,-1000);
				SendClientMessage(playerid,0xFF9900AA,"« You have bought this dress for $1000 »");
Dont you think you should use GetPlayerMoney?
for something like
Code:
        //under case 0 or 1 or 2 or .....
        if(GetPlayerMoney(playerid) < 1000)
        {
            SendClientMessage(playerid, COLOR_RED, "Hey looser, get some cash first");
        }
        else
        {
            SendClientMessage(playerid,0xFF9900AA, "« You have bought this dress for $1000 »");
            GivePlayerMoney(playerid,-1000);
        }
        return 1;
    }
because your code will give the player a skin even if he doesn't have cash and will take his cash too negative value, but the above code will check the player's cash before giving him a skin. Hope you understand the point.
This i released long before when i was a newbie,thats why its like that..
Reply
#30

Awesome
Reply
#31

Quote:
Originally Posted by Ironboy
View Post
This i released long before when i was a newbie,thats why its like that..
You aren't a newbie now, you can still edit it :P
Reply
#32

Quote:
Originally Posted by suhrab_mujeeb
View Post
You aren't a newbie now, you can still edit it :P
Yes but i dont have time to fix it :/
Reply
#33

Doesnot work, just saying.
Reply
#34

I can't download it!
Reply
#35

I will be using this !!
Reply
#36

Gooood.
Reply
#37

Can some one give me a Mirror?
Reply
#38

not bad iron boy good to see your still around you still using satdm? also you know you dont have to change skins right?

regards

Former [bT] member from WAY back

Lookin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)