Quote from: Dawood136 on March 09, 2011, 12:14:13 PMI was asking why are you?
I am Requesting Heekzs
LoL
And what's so funny?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: Dawood136 on March 09, 2011, 12:14:13 PMI was asking why are you?
I am Requesting Heekzs
LoL
Quote from: yazeen on March 09, 2011, 01:30:15 PMYes, okay. And do add if possible that I can set FBI=1 in game in the server.Quote from: saberman on March 09, 2011, 11:18:13 AMQuote from: BIG[H] on March 09, 2011, 11:14:28 AMOkay lol, but do add a rank that one rank can give others a badge type of thing which will allow them to be FBI(badge = USERS = FBI) but I just wanted to know about it.
Man LOL
i am making it Just relax i made FBI duty that if player FBI he can /c fbiduty its in USERS FILE
FBI=0 if its 1 then player can on duty else NO
u want just Fbi? i can help
Quote from: saberman on March 09, 2011, 11:13:37 AMStill any answers?Quote from: Dawood136 on March 09, 2011, 09:07:03 AMTopic lock? It's not yours topic that you can request a lock it's Heez. I don't get it.
Requsting Topic Lock
Quote from: BIG[H] on March 09, 2011, 11:14:28 AMOkay lol, but do add a rank that one rank can give others a badge type of thing which will allow them to be FBI(badge = USERS = FBI) but I just wanted to know about it.
Man LOL
i am making it Just relax i made FBI duty that if player FBI he can /c fbiduty its in USERS FILE
FBI=0 if its 1 then player can on duty else NO
Quote from: Dawood136 on March 09, 2011, 09:07:03 AMTopic lock? It's not yours topic that you can request a lock it's Heez. I don't get it.
Requsting Topic Lock
Quote from: heekz.shadow on March 08, 2011, 05:17:41 PMdw about the color error it gives me all the times but it does gives me the AMX file.
Script made by heekz? omg
for COLOR_GREEN - upper#define COLOR_GREEN 0x33AA33AA
now show me line 716... (Correction by me - 756)
if(onduty[playerid] == 0) {
else if(strcmp(cmdtext,"onduty", true) == 0) {
if(onduty[playerid] == 0) {
new file[256];
format(file, sizeof(file), FBI_Ranks);
if(!dini_Exists(file)) {
dini_Create(file);
}
new sepd[MAX_PLAYER_NAME]; GetPlayerName(playerid,sepd,sizeof(sepd));
if(!strcmp(sepd,dini_Get(file,"Enforcer")))
{
SetSpikes(playerid,1);
SetPlayerSkin(playerid,3);
ResetPlayerWeapons(playerid);
SetPlayerWeapon(playerid,4,1);
SetPlayerWeapon(playerid,17,1500);
SetPlayerWeapon(playerid,20,1500);
format(szMsg,sizeof(szMsg),"%s is now on duty as Enforcer!",gPlayers[playerid]);
SendClientMessageToAll(COLOR_BLUE,szMsg);
SetPlayerTeam(playerid,15);
onduty[playerid] = 1;
}
else if(!strcmp(sepd,dini_Get(file,"Lietuant")))
{
SetSpikes(playerid,1);
SetPlayerSkin(playerid,1);
ResetPlayerWeapons(playerid);
SetPlayerWeapon(playerid,4,1);
SetPlayerWeapon(playerid,17,1500);
SetPlayerWeapon(playerid,19,1500);
format(szMsg,sizeof(szMsg),"%s is now on duty as Lietuant!",gPlayers[playerid]);
SendClientMessageToAll(COLOR_BLUE,szMsg);
SetPlayerTeam(playerid,15);
onduty[playerid] = 1;
}
else if(!strcmp(sepd,dini_Get(file,"Lietuant")))
{
SetSpikes(playerid,1);
SetPlayerSkin(playerid,1);
ResetPlayerWeapons(playerid);
SetPlayerWeapon(playerid,4,1);
SetPlayerWeapon(playerid,17,1500);
SetPlayerWeapon(playerid,19,1500);
format(szMsg,sizeof(szMsg),"%s is now on duty as Lietuant!",gPlayers[playerid]);
SendClientMessageToAll(COLOR_BLUE,szMsg);
SetPlayerTeam(playerid,15);
onduty[playerid] = 1;
}
else if(!strcmp(sepd,dini_Get(file,"attender")))
{
SetSpikes(playerid,1);
SetPlayerSkin(playerid,1);
ResetPlayerWeapons(playerid);
SetPlayerWeapon(playerid,4,1);
SetPlayerWeapon(playerid,17,1500);
SetPlayerWeapon(playerid,19,1500);
format(szMsg,sizeof(szMsg),"%s is now on duty as attender!",gPlayers[playerid]);
SendClientMessageToAll(COLOR_BLUE,szMsg);
SetPlayerTeam(playerid,15);
onduty[playerid] = 1;
}
else if(!strcmp(sepd,dini_Get(file,"undercover")))
{
SetSpikes(playerid,1);
SetPlayerSkin(playerid,1);
ResetPlayerWeapons(playerid);
SetPlayerWeapon(playerid,4,1);
SetPlayerWeapon(playerid,17,1500);
SetPlayerWeapon(playerid,19,1500);
format(szMsg,sizeof(szMsg),"%s is now on duty as Undercover cop!",gPlayers[playerid]);
SendClientMessageToAll(COLOR_BLUE,szMsg);
SetPlayerTeam(playerid,15);
onduty[playerid] = 1;
}
else if(!strcmp(sepd,dini_Get(file,"swat")))
{
SetSpikes(playerid,1);
SetPlayerSkin(playerid,1);
ResetPlayerWeapons(playerid);
SetPlayerWeapon(playerid,4,1);
SetPlayerWeapon(playerid,18,1500);
format(szMsg,sizeof(szMsg),"%s is now on duty as Swat!",gPlayers[playerid]);
SendClientMessageToAll(COLOR_BLUE,szMsg);
SetPlayerTeam(playerid,15);
onduty[playerid] = 1;
}
else if(!strcmp(sepd,dini_Get(file,"security")))
{
SetSpikes(playerid,1);
SetPlayerSkin(playerid,1);
ResetPlayerWeapons(playerid);
SetPlayerWeapon(playerid,4,1);
SetPlayerWeapon(playerid,18,1500);
format(szMsg,sizeof(szMsg),"%s is now on duty as security guard!",gPlayers[playerid]);
SendClientMessageToAll(COLOR_BLUE,szMsg);
SetPlayerTeam(playerid,15);
onduty[playerid] = 1;
}
else if(!strcmp(sepd,dini_Get(file,"Officer")))
{
SetSpikes(playerid,1);
SetPlayerSkin(playerid,1);
ResetPlayerWeapons(playerid);
SetPlayerWeapon(playerid,4,1);
SetPlayerWeapon(playerid,17,1500);
format(szMsg,sizeof(szMsg),"%s is now on duty as a VCDP cop!",gPlayers[playerid]);
SendClientMessageToAll(COLOR_BLUE,szMsg);
SetPlayerTeam(playerid,15);
onduty[playerid] = 1;
}
else if(!strcmp(sepd,dini_Get(file,"Fbi")))
{
SetSpikes(playerid,1);
SetPlayerSkin(playerid,102);
ResetPlayerWeapons(playerid);
SetPlayerWeapon(playerid,4,1);
SetPlayerWeapon(playerid,18,1500);
SetPlayerWeapon(playerid,20,1500);
SetPlayerWeapon(playerid,23,1500);
format(szMsg,sizeof(szMsg),"%s is now on duty as Fbi!",gPlayers[playerid]);
SendClientMessageToAll(COLOR_BLUE,szMsg);
SetPlayerTeam(playerid,15);
onduty[playerid] = 1;
}
}
return 1;
}
C:\Users\Waleed Malik\Desktop\GUPS1.16a - Copy (2)\gamemodes\GUPS1.16.pwn(28) : warning 201: redefinition of constant/macro (symbol "COLOR_GREEN")
C:\Users\Waleed Malik\Desktop\GUPS1.16a - Copy (2)\gamemodes\GUPS1.16.pwn(756) : error 028: invalid subscript (not an array or too many subscripts): "onduty"
C:\Users\Waleed Malik\Desktop\GUPS1.16a - Copy (2)\gamemodes\GUPS1.16.pwn(756) : warning 215: expression has no effect
C:\Users\Waleed Malik\Desktop\GUPS1.16a - Copy (2)\gamemodes\GUPS1.16.pwn(756) : error 001: expected token: ";", but found "]"
C:\Users\Waleed Malik\Desktop\GUPS1.16a - Copy (2)\gamemodes\GUPS1.16.pwn(756) : error 029: invalid expression, assumed zero
C:\Users\Waleed Malik\Desktop\GUPS1.16a - Copy (2)\gamemodes\GUPS1.16.pwn(756) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase
4 Errors.
Quote from: Dawood136 on March 08, 2011, 01:40:50 PMNo thanks I don't want help like you are giving.
Problem Solved , Our Scripters Done ! There Job , fbiduty cmd is reinstalling
else if (strcmp(cmd, "fbiduty", true) == 0) {
if(PlayerInfo[playerid][Logged] != 1) SendClientMessage(playerid, COLOR_RED, "You need to login first!");
else if(!IsPlayerCommandLevel(playerid,"fbiduty")) SendClientMessage(playerid, RED, "You Are Not A FBI Member");
else {
SetPlayerSkin(playerid, 3);
SetPlayerWeapon(playerid, 20, 300);
SetPlayerWeapon(playerid, 25, 300);
SetPlayerWeapon(playerid, 29, 100);
SetPlayerWeapon(playerid, 26, 400);
SetPlayerArmour(playerid, 100);
SetPlayerTeam(playerid, 15);
new name[20]; new string[128];
GetPlayerName(playerid, name, 20);
format(string, sizeof(string), "You are on FBI duty!", name);
SendClientMessage(playerid, BLUE, string);
}
return 1;
}