help explicit rp(+REP)
#1

Hey, there is some commands to get skins to the police?
when I use /duty I just get color WHITE OR BLUE but not skins, there is other commands to get police skin?
+REP for who help me.
Reply
#2

Removed.
Reply
#3

Код:
SetPlayerSkin(playerid, 265);
Add this under your command
Reply
#4

Quote:
Originally Posted by 1Deagle1
Посмотреть сообщение
Код:
    SetPlayerSkin(playerid, 265);
Put this in the command.
Quote:
Originally Posted by SpikY_
Посмотреть сообщение
Код:
SetPlayerSkin(playerid, 265);
Add this under your command
Код:
		case 7:
		{
            if (PlayerInfo[playerid][pdSuspensionDay] > 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You are currently suspened of the Police department !");
			switch(GetPVarInt(playerid, "Duty"))
			{
		    	case 0:
		    	{
		        	SetPVarInt(playerid, "Duty", 1);
		        	SendClientMessage(playerid,COLOR_WHITE,"You are now On-Duty.");
		        	SendClientMessage(playerid,0xBE444196,"WARNING: Make sure to properly use the command (/unit) while you patrol.");
    	        	ShowPlayerDialog(playerid,105,DIALOG_STYLE_MSGBOX,"Color Setting","Select the color of your SA-MP nametag.","Blue", "White");
		    	}
		    	case 1:
		    	{
		        	SetPVarInt(playerid, "Duty", 0);
		        	SendClientMessage(playerid,COLOR_WHITE,"You are now Off-Duty.");
		        	SetPlayerColor(playerid,COLOR_WHITE);
		        	DeletePVar(playerid, "PDUNIT"), DeletePVar(playerid, "PDRadio");
		    	}
			}
		}
		default: SendClientMessage(playerid, COLOR_GREY, "You don't have access to this command!.");
	}
	return 1;
}
Is just make skins for one rank?
I had 15 ranks with ohers skins need .
Reply
#5

Skin ID: 280
Skin Name: lapd1
Skin Identity: Police Officer
Location: Los Santos
Gender: Male


Skin ID: 281
Skin Name: sfpd1
Skin Identity: Police Officer
Location: San Fierro
Gender: Male


Skin ID: 282
Skin Name: lvpd1
Skin Identity: Police Officer
Location: Las Venturas
Gender: Male


Skin ID: 283
Skin Name: csher
Skin Identity: Sheriff
Location: Countryside
Gender: Male


Skin ID: 288
Skin Name: dsher
Skin Identity: Sheriff
Location: Desert
Gender: Male

Skin ID: 284
Skin Name: lapdm1
Skin Identity: Police Bike Officer
Location: San Andreas
Gender: Male


Skin ID: 285
Skin Name: swat
Skin Identity: S.W.A.T Special Forces
Location: San Andreas
Gender: Male

Skin ID: 286
Skin Name: fbi
Skin Identity: FBI Agent
Location: San Andreas
Gender: Male


Skin ID: 287
Skin Name: army
Skin Identity: San Andreas Army Soldier
Location: San Andreas
Gender: Male

Example:
Код:
    SetPlayerSkin(playerid, 287);
Reply
#6

Show us your Duty command.
Reply
#7

Quote:
Originally Posted by RedLabel
Посмотреть сообщение
Is just make skins for one rank?
I had 15 ranks with ohers skins need .
If you have 15 functions for them then add it under each one, if they're all under one function/command then just add there
Reply
#8

Quote:
Originally Posted by SpikY_
Посмотреть сообщение
Show us your Duty command.
This is the duty commands.

Код:
		case 7:
		{
            if (PlayerInfo[playerid][pdSuspensionDay] > 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You are currently suspened of the Police department !");
			switch(GetPVarInt(playerid, "Duty"))
			{
		    	case 0:
		    	{
		        	SetPVarInt(playerid, "Duty", 1);
		        	SendClientMessage(playerid,COLOR_WHITE,"You are now On-Duty.");
		        	SendClientMessage(playerid,0xBE444196,"WARNING: Make sure to properly use the command (/unit) while you patrol.");
    	        	ShowPlayerDialog(playerid,105,DIALOG_STYLE_MSGBOX,"Color Setting","Select the color of your SA-MP nametag.","Blue", "White");
		    	}
		    	case 1:
		    	{
		        	SetPVarInt(playerid, "Duty", 0);
		        	SendClientMessage(playerid,COLOR_WHITE,"You are now Off-Duty.");
		        	SetPlayerColor(playerid,COLOR_WHITE);
		        	DeletePVar(playerid, "PDUNIT"), DeletePVar(playerid, "PDRadio");
		    	}
			}
		}
		default: SendClientMessage(playerid, COLOR_GREY, "You don't have access to this command!.");
	}
	return 1;
}
Reply
#9

Removed.
Reply
#10

Okay now when I use /duty commands I get the officer skins but, how can I return to the reguler skin?
and guys I rep you all for your helps, thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)