else if(PlayerInfo[playerid][pMember] == 11 ||PlayerInfo[playerid][pLeader] == 11) if (PlayerToPoint(3, playerid,-1663.4292,14.4364,300.5113) { SendClientMessage(playerid, COLOR_WHITE, "* You are now On Duty with your firefighter Job and will receive Fire Hazard calls."); JobDuty[playerid] = 1; Medics += 1; GetPlayerName(playerid,sendername,sizeof(sendername)); SafeGivePlayerWeapon(playerid, 36, 65000); SetPlayerArmour(playerid, 100); SetPlayerHealth(playerid, 100); format(string, sizeof(string), "[Advert] Firefighter %s is On Duty, /call 911 if you have seen any fire hazards!", sendername); OOCNews(COLOR_FIREMAN,string); } }
{
else if(PlayerInfo[playerid][pMember] == 11 ||PlayerInfo[playerid][pLeader] == 11) {
if (PlayerToPoint(3, playerid,-1663.4292,14.4364,300.5113)) {
SendClientMessage(playerid, COLOR_WHITE, "* You are now On Duty with your firefighter Job and will receive Fire Hazard calls.");
JobDuty[playerid] = 1;
Medics += 1;
GetPlayerName(playerid,sendername,sizeof(sendername));
SafeGivePlayerWeapon(playerid, 36, 65000);
SetPlayerArmour(playerid, 100);
SetPlayerHealth(playerid, 100);
format(string, sizeof(string), "[Advert] Firefighter %s is On Duty, /call 911 if you have seen any fire hazards!", sendername);
OOCNews(COLOR_FIREMAN,string);
}
}
if (PlayerToPoint(3, playerid,-1663.4292,14.4364,300.5113))
{
Originally Posted by ۞●•λвнiиаv•●۞
see this line...you have forgotten to add one more ")"
I corrected it. pawn Код:
-Abhinav |
Originally Posted by widowmkr
Quote:
@ Clumx, yours didnt, sorry |