Toys Mod - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Toys Mod (
/showthread.php?tid=244372)
Toys Mod -
Bam23 - 27.03.2011
It would be awesome if there was a public Toys mod. All i want is hats and mask
If anyone could help me out that would be awesome
Binco part
pawn Код:
if(strcmp(cmd, "/buyclothes", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(IsAtClothShop(playerid))
{
ShowPlayerDialog(playerid, SKINMENU, DIALOG_STYLE_INPUT, "Clothing Select","Note: Buying a new skin will cost you $2,500\nPlease, enter the skin id you want to purchase:", "Buy", "Cancel");
}
else
{
SendClientMessage(playerid, COLOR_LIGHTRED, "** [Error]: You are not in a clothing store");
}
}
return 1;
}
Part of my Binco script.
IF there was just something i could add under it or somehthing like /accessories?
Any Help?.
Anyone that helps will be rewarded in server
PM Me if you would like the reward and IP...
If thats alloud?
Re: Toys Mod -
SchurmanCQC - 27.03.2011
You mean you'd like to use some of the objects that are new to 0.3c? You can do that by spawning them and using AttachObjectToPlayer.
Re: Toys Mod -
Bam23 - 27.03.2011
Quote:
Originally Posted by Schurman
You mean you'd like to use some of the objects that are new to 0.3c? You can do that by spawning them and using AttachObjectToPlayer.
|
Exactly

.
Like attaching a bandanna on someones face

I want to do this for gangs.
Flags and colors and stuff. To show more colors for gang
I dont know any coding though
Re: Toys Mod -
Stigg - 27.03.2011
http://forum.sa-mp.com/showthread.ph...light=bandanas
http://forum.sa-mp.com/showthread.ph...hlight=glasses
http://forum.sa-mp.com/showthread.ph...=Insanity+caps
http://forum.sa-mp.com/showthread.ph...=Insanity+caps
Try using Search.
Re: Toys Mod -
Bam23 - 27.03.2011
Quote:
Originally Posted by Stigg
|
Thank you for Filterscripts
I wanted like a new function in the rp script though
Im using /glasses and stuff for now..
Re: Toys Mod -
Stigg - 27.03.2011
Quote:
Originally Posted by Bam23
Thank you for Filterscripts
I wanted like a new function in the rp script though
Im using /glasses and stuff for now..
|
Just look through the filterscripts code to see how they are made, then try making some yourself. Its easy once you get going.
Re: Toys Mod -
Bam23 - 27.03.2011
Quote:
Originally Posted by Stigg
Just look through the filterscripts code to see how they are made, then try making some yourself. Its easy once you get going.
|
So with this... I would just keep?. It sais
True) == 0)...
Dont have to be cj?
pawn Код:
if(strcmp(cmd, "/CJ", true) == 0)
{
SetPlayerSkin(playerid,0);
return 1;
}
return 0;
}
Re: Toys Mod -
Stigg - 27.03.2011
Quote:
Originally Posted by Bam23
So with this... I would just keep?. It sais
True) == 0)...
Dont have to be cj?
pawn Код:
if(strcmp(cmd, "/CJ", true) == 0) { SetPlayerSkin(playerid,0); return 1; } return 0; }
|
Just delete that part and you can use it for all characters. Mind you different skins have different offsets.
So there may be little changes in appearance.