help explicit rp(+REP) -
RedLabel - 01.08.2015
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.
Re: help explicit rp(+REP) -
Variable™ - 01.08.2015
Removed.
Re: help explicit rp(+REP) -
SpikY_ - 01.08.2015
Код:
SetPlayerSkin(playerid, 265);
Add this under your command
Re: help explicit rp(+REP) -
RedLabel - 01.08.2015
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 .
Re: help explicit rp(+REP) -
Variable™ - 01.08.2015
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);
Re: help explicit rp(+REP) -
SpikY_ - 01.08.2015
Show us your Duty command.
Re: help explicit rp(+REP) -
xVIP3Rx - 01.08.2015
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
Re: help explicit rp(+REP) -
RedLabel - 01.08.2015
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;
}
Re: help explicit rp(+REP) -
Variable™ - 01.08.2015
Removed.
Re: help explicit rp(+REP) -
RedLabel - 01.08.2015
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.