Posts: 5
Threads: 1
Joined: Mar 2011
Reputation:
0
Hello guys.. can someone help me how to script the FBI system when you go Undercover you get a N/C and if you go on duty you got your name back.. thank you i hope you guys help me..
there is a command too of /changeclothes on the car.. if you know how to do it please help.
Posts: 77
Threads: 21
Joined: Oct 2011
16.02.2012, 17:04
(
Последний раз редактировалось deltapro; 16.02.2012 в 18:34.
)
pawn Код:
if(strcmp(cmdtext, "/undercover",true)==0){
if(PlayerInfo[playerid][playerteam]==FBI{
if(IsPlayerInSphere(playerid,221.7848,182.8990,1003.0313,5)){ // You can change the coordinates
{
if(PlayerInfo[playerid][ranklvl]>=1 && PlayerInfo[playerid][female]==0){
SetPlayerColor(playerid,COLOR_WHITE);
ResetPlayerWeapons(playerid); // Remove his weapons
SetPlayerSkin(playerid,211);
SendClientMessage(playerid,COLOR_RED,"[ERROR] You are not allowed.
return 1;
Work 100% ..
Posts: 5
Threads: 1
Joined: Mar 2011
Reputation:
0
Thank you Deltapro.. I am going to test it.. l'll pm you if i have a problem.
Posts: 5
Threads: 1
Joined: Mar 2011
Reputation:
0
Yo.. i'm telling ya.. When you are FBI.. example you're on duty when u do /fbi and you take the obtion "Undercover" it let you to take a "Name Change" a name you want example "Tyler_Roberto".. then when u finish it.. and you want your name back you select Duty and it goes to your normal like "Armando_Alejandro"..