SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 04/02/2014, 10:55 PM   #1
PatrickShifflett
Little Clucker
 
Join Date: Nov 2013
Posts: 40
Reputation: 0
Default Select male>Female skin Seclect female>Remale skin

Well when my player pick male they will spawn with a female skin and the feamle is fine how do I fix the skin for the male when he spawns?

Alos here is the spawn

Code:
   if(dialogid == DIALOG_SPAWN)
    {
		if(response || !response)
		{
			
			for(new x;x<10000;x++)
						{
							new rand=random(300);
							if(PlayerInfo[playerid][pSex] == 0)
							{
								if(IsValidSkin(rand))
								{
									PlayerInfo[playerid][pModel] = rand;
									SetPlayerSkin(playerid, rand);
									break;
								}
							}
							else
							{
								if(IsFemaleSkin(rand))
								{
									PlayerInfo[playerid][pModel] = rand;
									SetPlayerSkin(playerid, rand);
									break;
								}
							}
						}
__________________
Samp Server.

HostName: South Central Roleplay - [0.3z RC4 | Grand Opening
Address: 62.4.17.224:7777
Players: 36 / 125
Ping: 125
Mode: SC-RP v00.68
Map: Los Santos

If I helped you hit the star it would mean alot!!
PatrickShifflett is offline   Reply With Quote
Old 04/02/2014, 11:08 PM   #2
PatrickShifflett
Little Clucker
 
Join Date: Nov 2013
Posts: 40
Reputation: 0
Default Re: Select male>Female skin Seclect female>Remale skin

This part if(response || !response) ?
__________________
Samp Server.

HostName: South Central Roleplay - [0.3z RC4 | Grand Opening
Address: 62.4.17.224:7777
Players: 36 / 125
Ping: 125
Mode: SC-RP v00.68
Map: Los Santos

If I helped you hit the star it would mean alot!!
PatrickShifflett is offline   Reply With Quote
Old 05/02/2014, 12:15 AM   #3
PatrickShifflett
Little Clucker
 
Join Date: Nov 2013
Posts: 40
Reputation: 0
Default Re: Select male>Female skin Seclect female>Remale skin

Any more help?
__________________
Samp Server.

HostName: South Central Roleplay - [0.3z RC4 | Grand Opening
Address: 62.4.17.224:7777
Players: 36 / 125
Ping: 125
Mode: SC-RP v00.68
Map: Los Santos

If I helped you hit the star it would mean alot!!
PatrickShifflett is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Need] Male/Female Skins select GUI Micius Scripting Help 4 27/10/2011 05:56 PM
Help!How to add male/female dialogue [Headless] Scripting Help 6 22/09/2011 12:16 PM
Male/female spawn help .Com Help Archive 4 31/01/2011 06:20 AM
/set [sex] [male/female] Help please... introzen Help Archive 13 16/08/2009 06:50 PM


All times are GMT. The time now is 11:43 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.