Duty help.
#1

Hello
I use GodFather RP mod on my server, and i want to make, i have a civil skin like 126 or etc... and if im Police FBI or Navy and i make /duty, then i get a new skin and got the weapons, and when /duty again the skin changes back to civil... the weapon is working but i dont know how can i make the skin...

I want to make it for Police Faction:1 FBI:2 Navy:3
Quote:

if(OnDuty[playerid]==0)
{
format(string, sizeof(string), "* Officer %s Бtцltцzцtt, йs elővette fegyvereit.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
GivePlayerWeapon(playerid, 24, 100);
GivePlayerWeapon(playerid, 29, 150);
GivePlayerWeapon(playerid, 31, 250);
GivePlayerWeapon(playerid, 41, 100);
GivePlayerWeapon(playerid, 3, 0);
SetPlayerArmour(playerid, 100);
OnDuty[playerid] = 1;
}
else if(OnDuty[playerid]==1)
{
format(string, sizeof(string), "* Officer %s Vissza цltцzцtt, йs leadta fegyvereit.", sendername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE);
ResetPlayerWeapons(playerid);
SetPlayerArmour(playerid, 0);
OnDuty[playerid] = 0;
}
}

Reply
#2

just

SetPlayerSkin(playerid, 285); // choose correct skin id
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)