Small Help!
#1

hi i get 26 errors please help me!

PHP код:
if( dialogid == Dialog_Accept )
                    {
                    if( 
response )//daca apasa primul buton
                    
{
                    if( 
listitem == )
                    {
                    if(
CrackOffer[playerid] < 999)
                    {
                    if(
GetPlayerCash(playerid) > CrackPrice[playerid])
                    {
                    if(
PlayerInfo[playerid][pCrack] < 7)
                    {
                    if(
IsPlayerConnected(CrackOffer[playerid]))
                    {
                    
GetPlayerName(CrackOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
format(stringsizeof(string), "* You bought %d gram for $%d from Drug Dealer %s.",CrackGram[playerid],CrackPrice[playerid],giveplayer);
                    
SendClientMessage(playeridCOLOR_1BLUEstring);
                    
format(stringsizeof(string), "* %s has bought your %d gram, the $%d was added to your Account.",sendername,CrackGram[playerid],CrackPrice[playerid]);
                    
SendClientMessage(CrackOffer[playerid], COLOR_1BLUEstring);
                    
PlayerInfo[CrackOffer[playerid]][pAccount] += CrackPrice[playerid];
                    
PlayerInfo[CrackOffer[playerid]][pDrugsSkill] ++;
                    
GivePlayerCash(playerid, -CrackPrice[playerid]);
                    
PlayerInfo[playerid][pCrack] += CrackGram[playerid];
                    
PlayerInfo[CrackOffer[playerid]][pCrack] -= CrackGram[playerid];
                    if(
PlayerInfo[CrackOffer[playerid]][pDrugsSkill] == 50)
                    { 
SendClientMessage(CrackOffer[playerid], COLOR_YELLOW"* Your Drug Dealer Skill is now Level 2, you can buy more Grams and Cheaper."); }
                    else if(
PlayerInfo[CrackOffer[playerid]][pDrugsSkill] == 100)
                    { 
SendClientMessage(CrackOffer[playerid], COLOR_YELLOW"* Your Drug Dealer Skill is now Level 3, you can buy more Grams and Cheaper."); }
                    else if(
PlayerInfo[CrackOffer[playerid]][pDrugsSkill] == 200)
                    { 
SendClientMessage(CrackOffer[playerid], COLOR_YELLOW"* Your Drug Dealer Skill is now Level 4, you can buy more Grams and Cheaper."); }
                    else if(
PlayerInfo[CrackOffer[playerid]][pDrugsSkill] == 400)
                    { 
SendClientMessage(CrackOffer[playerid], COLOR_YELLOW"* Your Drug Dealer Skill is now Level 5, you can buy more Grams and Cheaper."); }
                    
CrackOffer[playerid] = 999;
                    
CrackPrice[playerid] = 0;
                    
CrackGram[playerid] = 0;
                    return 
1;
                    }
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You are fully loaded with Crack, use it first !");
                    return 
1;
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You can't afford this Crack !");
                    return 
1;
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one offerd you any Crack !");
                    return 
1;
                    }
                    }
                    if( 
listitem == )
                    {
                    if(
TransferOffer[playerid] < 999)
                    {
                    if(
IsPlayerConnected(TransferOffer[playerid]))
                    {
                    
GetPlayerName(TransferOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
PlayerInfo[playerid][pAccount] += TransferMoney[playerid];
                    
PlayerInfo[TransferOffer[playerid]][pAccount] -= TransferMoney[playerid];
                    
format(stringsizeof(string), " You have transferd $%d to %s's account"TransferMoney[playerid], giveplayer);
                    
PlayerPlaySound(playerid10520.00.00.0);
                    
SendClientMessage(playeridCOLOR_WHITEstring);
                    
format(stringsizeof(string), " You have recieved $%d to into your account from %s"TransferMoney[playerid], sendername);
                    
SendClientMessage(TransferOffer[playerid], COLOR_WHITEstring);
                    
format(stringsizeof(string), "%s transferd $%d to %s"sendernameTransferMoney[playerid], giveplayer);
                    if(
moneys >= 500000)
                    {
                    
ABroadCast(COLOR_YELLOW,string,1);
                    }
                    
printf("%s"string);
                    
PayLog(string);
                    
PlayerPlaySound(giveplayerid10520.00.00.0);
                    
TransferOffer[playerid] = 999;
                    
TransferMoney[playerid] = 0;
                    return 
1;
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY" No-one offered you a Transfer !");
                    return 
1;
                    }
                    }
                    if( 
listitem == )
                    {
                    if(
DivorceOffer[playerid] < 999)
                    {
                    if(
IsPlayerConnected(DivorceOffer[playerid]))
                    {
                    if(
ProxDetectorS(10.0playeridDivorceOffer[playerid]))
                    {
                    
GetPlayerName(DivorceOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
format(stringsizeof(string), "* You have accepted %s's request to be his Marriage Witness."giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* %s has accepted your request to be your Marriage Witness."sendername);
                    
SendClientMessage(DivorceOffer[playerid], COLOR_LIGHTBLUEstring);
                    
ClearMarriage(playerid);
                    
ClearMarriage(DivorceOffer[playerid]);
                    
PlayerInfo[playerid][pPhousekey] = 255;
                    
PlayerInfo[playerid][pPbiskey] = 255;
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   The player that sent you the Divorce Papers is not near you !");
                    return 
1;
                    }
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one sent you any Divorce Papers !");
                    return 
1;
                    }
                    }
                    if( 
listitem == )
                    {
                    if(
MarryWitnessOffer[playerid] < 999)
                    {
                    if(
IsPlayerConnected(MarryWitnessOffer[playerid]))
                    {
                    if(
ProxDetectorS(10.0playeridMarryWitnessOffer[playerid]))
                    {
                    
GetPlayerName(MarryWitnessOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
format(stringsizeof(string), "* You have accepted %s's request to be his Marriage Witness."giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* %s has accepted your request to be your Marriage Witness."sendername);
                    
SendClientMessage(MarryWitnessOffer[playerid], COLOR_LIGHTBLUEstring);
                    
MarryWitness[MarryWitnessOffer[playerid]] = playerid;
                    
MarryWitnessOffer[playerid] = 999;
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   The player that requested you to be his Marriage Witness is not near you !");
                    return 
1;
                    }
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one asked you to be his Marriage Witness !");
                    return 
1;
                    }
                    }
                    if( 
listitem == )
                    {
                    if(
ProposeOffer[playerid] < 999)
                    {
                    if(!
PlayerToPoint(10.0playerid, -1988.6638,1117.8837,54.4726))
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You are not at the Church in San Fierro !");
                    return 
1;
                    }
                    if(
IsPlayerConnected(ProposeOffer[playerid]))
                    {
                    if(
ProxDetectorS(10.0playeridProposeOffer[playerid]))
                    {
                    if(
MarryWitness[ProposeOffer[playerid]] == 999)
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   The proposer doesn't have a Marriage Witness !");
                    return 
1;
                    }
                    if(
IsPlayerConnected(MarryWitness[ProposeOffer[playerid]]))
                    {
                    if(
ProxDetectorS(12.0ProposeOffer[playerid], MarryWitness[ProposeOffer[playerid]]))
                    {
                    
GetPlayerName(ProposeOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
format(stringsizeof(string), "* You have accepted %s's request to be your Husband."giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* %s has accepted your request to be your Wife."sendername);
                    
SendClientMessage(ProposeOffer[playerid], COLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "Priest: %s do you take %s as your lovely Husband? (type 'yes', anything else will reject the Marriage)"sendernamegiveplayer);
                    
SendClientMessage(playeridCOLOR_WHITEstring);
                    
MarriageCeremoney[playerid] = 1;
                    
ProposedTo[ProposeOffer[playerid]] = playerid;
                    
GotProposedBy[playerid] = ProposeOffer[playerid];
                    
MarryWitness[ProposeOffer[playerid]] = 999;
                    
ProposeOffer[playerid] = 999;
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   The Marriage Witness is not near your proposer !");
                    return 
1;
                    }
                    }
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   The player that proposed to you is not near you !");
                    return 
1;
                    }
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one Proposed to you !");
                    return 
1;
                    }
                    }
                    if( 
listitem == )
                    {
                    if(
TicketOffer[playerid] < 999)
                    {
                    if(
IsPlayerConnected(TicketOffer[playerid]))
                    {
                    if (
ProxDetectorS(5.0playeridTicketOffer[playerid]))
                    {
                    
GetPlayerName(TicketOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
format(stringsizeof(string), "* You have paid the Ticket of $%d to Officer %s."TicketMoney[playerid], giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* %s has paid your Ticket of $%d."sendernameTicketMoney[playerid]);
                    
SendClientMessage(TicketOffer[playerid], COLOR_LIGHTBLUEstring);
                    
GivePlayerCash(playerid, - TicketMoney[playerid]);
                    
GivePlayerCash(TicketOffer[playerid], TicketMoney[playerid]);
                    
TicketOffer[playerid] = 999;
                    
TicketMoney[playerid] = 0;
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   The Officer is not near you !");
                    return 
1;
                    }
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one offered you a Ticket !");
                    return 
1;
                    }
                    }
                    if( 
listitem == )
                    {
                    if(
PaperOffer[playerid] < 999)
                    {
                    if(
IsPlayerConnected(PaperOffer[playerid]))
                    {
                    if(
BringingPaper[PaperOffer[playerid]] > 0)
                    {
                    if (
ProxDetectorS(5.0playeridPaperOffer[playerid]))
                    {
                    
GetPlayerName(PaperOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
format(stringsizeof(string), "* You have accepted a Newspaper from Paper Boy %s (use /read paper, to read)."giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* %s has accepted your Newspaper."sendername);
                    
SendClientMessage(PaperOffer[playerid], COLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "%s"Paper[PaperOffer[playerid]][pTitle]);
                    
strmid(Paper[playerid][pTitle], string0strlen(string), 255);
                    
format(stringsizeof(string), "%s"Paper[PaperOffer[playerid]][pMaker]);
                    
strmid(Paper[playerid][pMaker], string0strlen(string), 255);
                    
format(stringsizeof(string), "%s"Paper[PaperOffer[playerid]][pLine1]);
                    
strmid(Paper[playerid][pLine1], string0strlen(string), 255);
                    
format(stringsizeof(string), "%s"Paper[PaperOffer[playerid]][pLine2]);
                    
strmid(Paper[playerid][pLine2], string0strlen(string), 255);
                    
format(stringsizeof(string), "%s"Paper[PaperOffer[playerid]][pLine3]);
                    
strmid(Paper[playerid][pLine3], string0strlen(string), 255);
                    
format(stringsizeof(string), "%s"Paper[PaperOffer[playerid]][pLine4]);
                    
strmid(Paper[playerid][pLine4], string0strlen(string), 255);
                    
format(stringsizeof(string), "%s"Paper[PaperOffer[playerid]][pLine5]);
                    
strmid(Paper[playerid][pLine5], string0strlen(string), 255);
                    
format(stringsizeof(string), "%s"Paper[PaperOffer[playerid]][pLine6]);
                    
strmid(Paper[playerid][pLine6], string0strlen(string), 255);
                    
format(stringsizeof(string), "%s"Paper[PaperOffer[playerid]][pLine7]);
                    
strmid(Paper[playerid][pLine7], string0strlen(string), 255);
                    
GotPaper[playerid] = 1;
                    
PaperOffer[playerid] = 999;
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   The Paper Boy is not near you !");
                    return 
1;
                    }
                    }
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one offered you a Newspaper !");
                    return 
1;
                    }
                    }
                    if( 
listitem == )
                    {
                    if(
BoxOffer[playerid] < 999)
                    {
                    if(
IsPlayerConnected(BoxOffer[playerid]))
                    {
                    new 
points;
                    new 
mypoints;
                    
GetPlayerName(BoxOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    new 
level PlayerInfo[BoxOffer[playerid]][pBoxSkill];
                    if(
level >= && level <= 50) { points 40; }
                    else if(
level >= 51 && level <= 100) { points 50; }
                    else if(
level >= 101 && level <= 200) { points 60; }
                    else if(
level >= 201 && level <= 400) { points 70; }
                    else if(
level >= 401) { points 80; }
                    if(
PlayerInfo[playerid][pJob] == 12)
                    {
                    new 
clevel PlayerInfo[playerid][pBoxSkill];
                    if(
clevel >= && clevel <= 50) { mypoints 40; }
                    else if(
clevel >= 51 && clevel <= 100) { mypoints 50; }
                    else if(
clevel >= 101 && clevel <= 200) { mypoints 60; }
                    else if(
clevel >= 201 && clevel <= 400) { mypoints 70; }
                    else if(
clevel >= 401) { mypoints 80; }
                    }
                    else
                    {
                    
mypoints 30;
                    }
                    
format(stringsizeof(string), "* You have accepted the Boxing Challenge from %s, and will fight with %d Health.",giveplayer,mypoints);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* %s has accepted your Boxing Challenge Request, you will fight with %d Health.",sendername,points);
                    
SendClientMessage(BoxOffer[playerid], COLOR_LIGHTBLUEstring);
                    
SetPlayerHealth(playeridmypoints);
                    
SetPlayerHealth(BoxOffer[playerid], points);
                    
SetPlayerInterior(playerid5); SetPlayerInterior(BoxOffer[playerid], 5);
                    
SetPlayerPos(playerid762.9852,2.4439,1001.5942); SetPlayerFacingAngle(playerid131.8632);
                    
SetPlayerPos(BoxOffer[playerid], 758.7064,-1.8038,1001.5942); SetPlayerFacingAngle(BoxOffer[playerid], 313.1165);
                    
TogglePlayerControllable(playerid0); TogglePlayerControllable(BoxOffer[playerid], 0);
                    
GameTextForPlayer(playerid"~r~Waiting"30001); GameTextForPlayer(BoxOffer[playerid], "~r~Waiting"30001);
                    new 
name[MAX_PLAYER_NAME];
                    new 
dstring[MAX_PLAYER_NAME];
                    new 
wstring[MAX_PLAYER_NAME];
                    
GetPlayerName(playeridnamesizeof(name));
                    
format(dstringsizeof(dstring), "%s"name);
                    
strmid(wstringdstring0strlen(dstring), 255);
                    if(
strcmp(Titel[TitelName] ,wstringtrue ) == )
                    {
                    
format(stringsizeof(string), "Boxing News: Boxing Champion %s will fight VS %s, in 60 seconds (Grove Street Gym).",  sendernamegiveplayer);
                    
OOCOff(COLOR_WHITE,string);
                    
TBoxer playerid;
                    
BoxDelay 60;
                    }
                    
GetPlayerName(BoxOffer[playerid], namesizeof(name));
                    
format(dstringsizeof(dstring), "%s"name);
                    
strmid(wstringdstring0strlen(dstring), 255);
                    if(
strcmp(Titel[TitelName] ,wstringtrue ) == )
                    {
                    
format(stringsizeof(string), "Boxing News: Boxing Champion %s will fight VS %s, in 60 seconds (Grove Street Gym).",  giveplayersendername);
                    
OOCOff(COLOR_WHITE,string);
                    
TBoxer BoxOffer[playerid];
                    
BoxDelay 60;
                    }
                    
BoxWaitTime[playerid] = 1BoxWaitTime[BoxOffer[playerid]] = 1;
                    if(
BoxDelay 1) { BoxDelay 20; }
                    
InRing 1;
                    
Boxer1 BoxOffer[playerid];
                    
Boxer2 playerid;
                    
PlayerBoxing[playerid] = 1;
                    
PlayerBoxing[BoxOffer[playerid]] = 1;
                    
BoxOffer[playerid] = 999;
                    return 
1;
                    }
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one offered you a Boxing Challenge !");
                    return 
1;
                    }
                    }
                    if( 
listitem == )
                    {
                    if(
TransportDuty[playerid] != 1)
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You are not a Taxi Driver !");
                    return 
1;
                    }
                    if(
TaxiCallTime[playerid] > 0)
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You have already accepted a Taxi Call !");
                    return 
1;
                    }
                    if(
PlayerOnMission[playerid] > 0)
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   On a mission right now, can't use this command !");
                    return 
1;
                    }
                    if(
TaxiCall 999)
                    {
                    if(
IsPlayerConnected(TaxiCall))
                    {
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
GetPlayerName(TaxiCallgiveplayersizeof(giveplayer));
                    
format(stringsizeof(string), "* You have accepted the Taxi Call from %s, you will see the marker untill you have reached it.",giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* Taxi Driver %s has accepted your Taxi Call please wait at your current Position.",sendername);
                    
SendClientMessage(TaxiCallCOLOR_LIGHTBLUEstring);
                    
GameTextForPlayer(playerid"~w~Taxi Caller~n~~r~Goto redmarker"50001);
                    
TaxiCallTime[playerid] = 1;
                    
TaxiAccepted[playerid] = TaxiCall;
                    
TaxiCall 999;
                    return 
1;
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one called for a Taxi yet !");
                    return 
1;
                    }
                    }
                    if( 
listitem == )
                    {
                    if(
TransportDuty[playerid] != 2)
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You are not a Bus Driver !");
                    return 
1;
                    }
                    if(
BusCallTime[playerid] > 0)
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You have already accepted a Bus Call !");
                    return 
1;
                    }
                    if(
PlayerOnMission[playerid] > 0)
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   On a mission right now, can't use this command !");
                    return 
1;
                    }
                    if(
BusCall 999)
                    {
                    if(
IsPlayerConnected(BusCall))
                    {
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
GetPlayerName(BusCallgiveplayersizeof(giveplayer));
                    
format(stringsizeof(string), "* You have accepted the Bus Call from %s, you will see the marker untill you have reached it.",giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* Bus Driver %s has accepted your Bus Call please wait at your current Position.",sendername);
                    
SendClientMessage(BusCallCOLOR_LIGHTBLUEstring);
                    new 
Float:X,Float:Y,Float:Z;
                    
GetPlayerPos(BusCallXYZ);
                    
SetPlayerCheckpoint(playeridXYZ5);
                    
GameTextForPlayer(playerid"~w~Bus Caller~n~~r~Goto redmarker"50001);
                    
BusCallTime[playerid] = 1;
                    
BusAccepted[playerid] = BusCall;
                    
BusCall 999;
                    return 
1;
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one called for a Bus yet !");
                    return 
1;
                    }
                    }
                    if( 
listitem == )
                    {
                    if(
PlayerInfo[playerid][pMember] == || PlayerInfo[playerid][pLeader] == 4)
                    {
                    if(
MedicCallTime[playerid] > 0)
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You have already accepted a Medic Call !");
                    return 
1;
                    }
                    if(
PlayerOnMission[playerid] > 0)
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   On a mission right now, can't use this command !");
                    return 
1;
                    }
                    if(
MedicCall 999)
                    {
                    if(
IsPlayerConnected(MedicCall))
                    {
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
GetPlayerName(MedicCallgiveplayersizeof(giveplayer));
                    
format(stringsizeof(string), "* You have accepted the Medic Call from %s, you have 30 Seconds to get there.",giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE"* After the 30 Seconds the Red Marker will dissapear.");
                    
format(stringsizeof(string), "* Medic %s has accepted your Medic Call please wait at your current Position.",sendername);
                    
SendClientMessage(MedicCallCOLOR_LIGHTBLUEstring);
                    new 
Float:X,Float:Y,Float:Z;
                    
GetPlayerPos(MedicCallXYZ);
                    
SetPlayerCheckpoint(playeridXYZ5);
                    
GameTextForPlayer(playerid"~w~Medic Caller~n~~r~Goto redmarker"50001);
                    
MedicCallTime[playerid] = 1;
                    
MedicCall 999;
                    return 
1;
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one called for a Medic yet !");
                    return 
1;
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You are not a Medic !");
                    return 
1;
                    }
                    }
                    if( 
listitem == 10 )
                    {
                    if(
PlayerInfo[playerid][pJob] != 7)
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You are not a Car Mechanic !");
                    return 
1;
                    }
                    if(
MechanicCallTime[playerid] > 0)
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You have already accepted a Mechanic Call !");
                    return 
1;
                    }
                    if(
PlayerOnMission[playerid] > 0)
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   On a mission right now, can't use this command !");
                    return 
1;
                    }
                    if(
MechanicCall 999)
                    {
                    if(
IsPlayerConnected(MechanicCall))
                    {
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
GetPlayerName(MechanicCallgiveplayersizeof(giveplayer));
                    
format(stringsizeof(string), "* You have accepted the Mechanic Call from %s, you have 30 Seconds to get there.",giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE"* After the 30 Seconds the Red Marker will dissapear.");
                    
format(stringsizeof(string), "* Car Mechanic %s has accepted your Mechanic Call please wait at your current Position.",sendername);
                    
SendClientMessage(MechanicCallCOLOR_LIGHTBLUEstring);
                    new 
Float:X,Float:Y,Float:Z;
                    
GetPlayerPos(MechanicCallXYZ);
                    
SetPlayerCheckpoint(playeridXYZ5);
                    
GameTextForPlayer(playerid"~w~Mechanic Caller~n~~r~Goto redmarker"50001);
                    
MechanicCallTime[playerid] = 1;
                    
MechanicCall 999;
                    return 
1;
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one called for a Car Mechanic yet !");
                    return 
1;
                    }
                    }
                    if( 
listitem == 11 )
                    {
                    if(
GettingJob[playerid] > 0)
                    {
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE"* Now that you have confirmed you want the Job, you got a 1 hour Contract.");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE"* Congratulations with your new Job, type /help to see your new command.");
                    
PlayerInfo[playerid][pJob] = GettingJob[playerid];
                    
GettingJob[playerid] = 0;
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You haven't even been at a Job place yet!");
                    return 
1;
                    }
                    }
                    if( 
listitem == 12 )
                    {
                    if(
RefillOffer[playerid] < 999)
                    {
                    if(
IsPlayerConnected(RefillOffer[playerid]))
                    {
                    if(
GetPlayerCash(playerid) > RefillPrice[playerid])
                    {
                    
GetPlayerName(RefillOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    new 
car gLastCar[playerid];
                    new 
fuel;
                    
PlayerInfo[RefillOffer[playerid]][pMechSkill] ++;
                    if(
PlayerInfo[RefillOffer[playerid]][pMechSkill] == 50)
                    { 
SendClientMessage(RefillOffer[playerid], COLOR_YELLOW"* Your Car Mechanic Skill is now Level 2, you can add more Fuel to any Players Cars."); }
                    else if(
PlayerInfo[RefillOffer[playerid]][pMechSkill] == 100)
                    { 
SendClientMessage(RefillOffer[playerid], COLOR_YELLOW"* Your Car Mechanic Skill is now Level 3, you can add more Fuel to any Players Cars."); }
                    else if(
PlayerInfo[RefillOffer[playerid]][pMechSkill] == 200)
                    { 
SendClientMessage(RefillOffer[playerid], COLOR_YELLOW"* Your Car Mechanic Skill is now Level 4, you can add more Fuel to any Players Cars."); }
                    else if(
PlayerInfo[RefillOffer[playerid]][pMechSkill] == 400)
                    { 
SendClientMessage(RefillOffer[playerid], COLOR_YELLOW"* Your Car Mechanic Skill is now Level 5, you can add more Fuel to any Players Cars."); }
                    new 
level PlayerInfo[RefillOffer[playerid]][pMechSkill];
                    if(
level >= && level <= 50)
                    { 
fuel 15; }
                    else if(
level >= 51 && level <= 100)
                    { 
fuel 40; }
                    else if(
level >= 101 && level <= 200)
                    { 
fuel 60; }
                    else if(
level >= 201 && level <= 400)
                    { 
fuel 80; }
                    else if(
level >= 401)
                    { 
fuel 100; }
                    
format(stringsizeof(string), "* You refilled your car with %d%, for $%d by Car Mechanic %s.",fuel,RefillPrice[playerid],giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* You refilled %s's car with %d%, the $%d has been added to your PayCheck.",sendername,fuel,RefillPrice[playerid]);
                    
SendClientMessage(RefillOffer[playerid], COLOR_LIGHTBLUEstring);
                    
PlayerInfo[RefillOffer[playerid]][pPayCheck] += RefillPrice[playerid];
                    
GivePlayerCash(playerid, -RefillPrice[playerid]);
                    if(
Gas[car] < 110) { Gas[car] += fuel; }
                    
RefillOffer[playerid] = 999;
                    
RefillPrice[playerid] = 0;
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You cant afford the Refill !");
                    return 
1;
                    }
                    }
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one offered to Refill your Car !");
                    return 
1;
                    }
                    }
                    if( 
listitem == 13 )
                    {
                    if(
LiveOffer[playerid] < 999)
                    {
                    if(
IsPlayerConnected(LiveOffer[playerid]))
                    {
                    if (
ProxDetectorS(5.0playeridLiveOffer[playerid]))
                    {
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE"* You are frozen till the Live Conversation ends.");
                    
SendClientMessage(LiveOffer[playerid], COLOR_LIGHTBLUE"* You are frozen till the Live Conversation ends (use /live again).");
                    
TogglePlayerControllable(playerid0);
                    
TogglePlayerControllable(LiveOffer[playerid], 0);
                    
TalkingLive[playerid] = LiveOffer[playerid];
                    
TalkingLive[LiveOffer[playerid]] = playerid;
                    
LiveOffer[playerid] = 999;
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You are to far away from the Stirile PROTV !");
                    return 
1;
                    }
                    }
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one gave you a Live Conversation offer !");
                    return 
1;
                    }
                    }
                    if( 
listitem == 14 )
                    {
                    
tmp strtok(cmdtextidx);
                    if(!
strlen(tmp))
                    {
                    
SendClientMessage(playeridCOLOR_GRAD2"USAGE: /accept lawyer [playerid/PartOfName]");
                    return 
1;
                    }
                    
giveplayerid ReturnUser(tmp);
                    if (
gTeam[playerid] == 2)
                    {
                    if(
IsPlayerConnected(giveplayerid))
                    {
                    if(
giveplayerid != INVALID_PLAYER_ID)
                    {
                    if(
PlayerInfo[giveplayerid][pJob] == 2)
                    {
                    
GetPlayerName(giveplayeridgiveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
format(stringsizeof(string), "* You allowed %s to free a Jailed Person."giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE,string);
                    
format(stringsizeof(string), "* Officer %s approved (allowed) you to free a Jailed Person. (use /free)"sendername);
                    
SendClientMessage(giveplayeridCOLOR_LIGHTBLUE,string);
                    
ApprovedLawyer[giveplayerid] = 1;
                    return 
1;
                    }
                    }
                    }
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"Invalid action! (You are no cop / Player aint a Lawyer / Bad ID)");
                    return 
1;
                    }
                    }
                    if( 
listitem == 15 )
                    {
                    if(
GuardOffer[playerid] < 999)
                    {
                    if(
GetPlayerCash(playerid) > GuardPrice[playerid])
                    {
                    if(
IsPlayerConnected(GuardOffer[playerid]))
                    {
                    
GetPlayerName(GuardOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
format(stringsizeof(string), "* You accepted the Protection for $%d from Bodyguard %s.",GuardPrice[playerid],giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* %s accepted your Protection, and the $%d was added to your PayCheck.",sendername,GuardPrice[playerid]);
                    
SendClientMessage(GuardOffer[playerid], COLOR_LIGHTBLUEstring);
                    
PlayerInfo[GuardOffer[playerid]][pPayCheck] += GuardPrice[playerid];
                    
GivePlayerCash(playerid, -GuardPrice[playerid]);
                    
GuardOffer[playerid] = 999;
                    
GuardPrice[playerid] = 0;
                    return 
1;
                    }
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You can't afford the Protection !");
                    return 
1;
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one offerd you any Protection !");
                    return 
1;
                    }
                    }
                    if( 
listitem == 16 )
                    {
                    if(
DrugOffer[playerid] < 999)
                    {
                    if(
GetPlayerCash(playerid) > DrugPrice[playerid])
                    {
                    if(
PlayerInfo[playerid][pDrugs] < 7)
                    {
                    if(
IsPlayerConnected(DrugOffer[playerid]))
                    {
                    
GetPlayerName(DrugOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
format(stringsizeof(string), "* You bought %d gram for $%d from Drug Dealer %s.",DrugGram[playerid],DrugPrice[playerid],giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* %s has bought your %d gram, the $%d was added to your PayCheck.",sendername,DrugGram[playerid],DrugPrice[playerid]);
                    
SendClientMessage(DrugOffer[playerid], COLOR_LIGHTBLUEstring);
                    
PlayerInfo[DrugOffer[playerid]][pPayCheck] += DrugPrice[playerid];
                    
PlayerInfo[DrugOffer[playerid]][pDrugsSkill] ++;
                    
GivePlayerCash(playerid, -DrugPrice[playerid]);
                    
PlayerInfo[playerid][pDrugs] += DrugGram[playerid];
                    
PlayerInfo[DrugOffer[playerid]][pDrugs] -= DrugGram[playerid];
                    if(
PlayerInfo[DrugOffer[playerid]][pDrugsSkill] == 50)
                    { 
SendClientMessage(DrugOffer[playerid], COLOR_YELLOW"* Your Drug Dealer Skill is now Level 2, you can buy more Grams and Cheaper."); }
                    else if(
PlayerInfo[DrugOffer[playerid]][pDrugsSkill] == 100)
                    { 
SendClientMessage(DrugOffer[playerid], COLOR_YELLOW"* Your Drug Dealer Skill is now Level 3, you can buy more Grams and Cheaper."); }
                    else if(
PlayerInfo[DrugOffer[playerid]][pDrugsSkill] == 200)
                    { 
SendClientMessage(DrugOffer[playerid], COLOR_YELLOW"* Your Drug Dealer Skill is now Level 4, you can buy more Grams and Cheaper."); }
                    else if(
PlayerInfo[DrugOffer[playerid]][pDrugsSkill] == 400)
                    { 
SendClientMessage(DrugOffer[playerid], COLOR_YELLOW"* Your Drug Dealer Skill is now Level 5, you can buy more Grams and Cheaper."); }
                    
DrugOffer[playerid] = 999;
                    
DrugPrice[playerid] = 0;
                    
DrugGram[playerid] = 0;
                    return 
1;
                    }
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You are fully loaded with Drugs, use them first !");
                    return 
1;
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You can't afford those Drugs !");
                    return 
1;
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   No-one offerd you any Drugs !");
                    return 
1;
                    }
                    }
                    if( 
listitem == 17 )
                    {
                    if(
SexOffer[playerid] < 999)
                    {
                    if(
GetPlayerCash(playerid) > SexPrice[playerid])
                    {
                    if (
IsPlayerConnected(SexOffer[playerid]))
                    {
                    new 
Car GetPlayerVehicleID(playerid);
                    if(
IsPlayerInAnyVehicle(playerid) && IsPlayerInVehicle(SexOffer[playerid], Car))
                    {
                    
GetPlayerName(SexOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
format(stringsizeof(string), "* You had sex with Whore %s, for $%d."giveplayerSexPrice[playerid]);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* %s had sex with you, the $%d was added to your PayCheck."sendernameSexPrice[playerid]);
                    
SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUEstring);
                    
PlayerInfo[SexOffer[playerid]][pPayCheck] += SexPrice[playerid];
                    
GivePlayerCash(playerid, -SexPrice[playerid]);
                    
PlayerInfo[SexOffer[playerid]][pSexSkill] ++;
                    if(
PlayerInfo[SexOffer[playerid]][pSexSkill] == 50)
                    { 
SendClientMessage(SexOffer[playerid], COLOR_YELLOW"* Your Sex Skill is now Level 2, you offer better Sex (health) and less chance on STD."); }
                    else if(
PlayerInfo[SexOffer[playerid]][pSexSkill] == 100)
                    { 
SendClientMessage(SexOffer[playerid], COLOR_YELLOW"* Your Sex Skill is now Level 3, you offer better Sex (health) and less chance on STD."); }
                    else if(
PlayerInfo[SexOffer[playerid]][pSexSkill] == 200)
                    { 
SendClientMessage(SexOffer[playerid], COLOR_YELLOW"* Your Sex Skill is now Level 4, you offer better Sex (health) and less chance on STD."); }
                    else if(
PlayerInfo[SexOffer[playerid]][pSexSkill] == 400)
                    { 
SendClientMessage(SexOffer[playerid], COLOR_YELLOW"* Your Sex Skill is now Level 5, you offer better Sex (health) and less chance on STD."); }
                    if(
STDPlayer[playerid] == 0)
                    {
                    if(
Condom[playerid] < 1)
                    {
                    new 
Float:health;
                    new 
level PlayerInfo[SexOffer[playerid]][pSexSkill];
                    if(
level >= && level <= 50)
                    {
                    if(
GetPlayerHealth(playeridhealth) < 150) {
                    
SetPlayerHealth(playeridhealth 30.0); }
                    new 
rand random(sizeof(STD1));
                    
STDPlayer[playerid] = STD1[rand];
                    
STDPlayer[SexOffer[playerid]] = STD1[rand];
                    if(
STD1[rand] == 0) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 30 Health + no STD while having Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You haven't got a STD while having Sex."); }
                    else if(
STD1[rand] == 1) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 30 Health + a Chlamydia because of the Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You got a Chlamydia because of the Sex."); }
                    else if(
STD1[rand] == 2) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 30 Health + a Gonorrhea because of the Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You got a Gonorrhea because of the Sex."); }
                    else if(
STD1[rand] == 3) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 30 Health + a Syphilis because of the Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You got a Syphilis because of the Sex."); }
                    }
                    else if(
level >= 51 && level <= 100)
                    {
                    if(
GetPlayerHealth(playeridhealth) < 150) {
                    
SetPlayerHealth(playeridhealth 60.0); }
                    new 
rand random(sizeof(STD2));
                    
STDPlayer[playerid] = STD2[rand];
                    
STDPlayer[SexOffer[playerid]] = STD2[rand];
                    if(
STD2[rand] == 0) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 60 Health + no STD while having Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You haven't got a STD while having Sex."); }
                    else if(
STD2[rand] == 1) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 60 Health + a Chlamydia because of the Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You got a Chlamydia because of the Sex."); }
                    else if(
STD2[rand] == 2) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 60 Health + a Gonorrhea because of the Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You got a Gonorrhea because of the Sex."); }
                    else if(
STD2[rand] == 3) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 60 Health + a Syphilis because of the Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You got a Syphilis because of the Sex."); }
                    }
                    else if(
level >= 101 && level <= 200)
                    {
                    if(
GetPlayerHealth(playeridhealth) < 150) {
                    
SetPlayerHealth(playeridhealth 90.0); }
                    new 
rand random(sizeof(STD3));
                    
STDPlayer[playerid] = STD3[rand];
                    
STDPlayer[SexOffer[playerid]] = STD3[rand];
                    if(
STD3[rand] == 0) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 90 Health + no STD while having Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You haven't got a STD while having Sex."); }
                    else if(
STD3[rand] == 1) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 90 Health + a Chlamydia because of the Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You got a Chlamydia because of the Sex."); }
                    else if(
STD3[rand] == 2) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 90 Health + a Gonorrhea because of the Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You got a Gonorrhea because of the Sex."); }
                    else if(
STD3[rand] == 3) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 90 Health + a Syphilis because of the Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You got a Syphilis because of the Sex."); }
                    }
                    else if(
level >= 201 && level <= 400)
                    {
                    if(
GetPlayerHealth(playeridhealth) < 150) {
                    
SetPlayerHealth(playeridhealth 120.0); }
                    new 
rand random(sizeof(STD4));
                    
STDPlayer[playerid] = STD4[rand];
                    
STDPlayer[SexOffer[playerid]] = STD4[rand];
                    if(
STD4[rand] == 0) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 120 Health + no STD while having Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You haven't got a STD while having Sex."); }
                    else if(
STD4[rand] == 1) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 120 Health + a Chlamydia because of the Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You got a Chlamydia because of the Sex."); }
                    else if(
STD4[rand] == 2) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 120 Health + a Gonorrhea because of the Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You got a Gonorrhea because of the Sex."); }
                    else if(
STD4[rand] == 3) { SendClientMessage(playeridCOLOR_LIGHTBLUE"* You got 120 Health + a Syphilis because of the Sex."); SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* You got a Syphilis because of the Sex."); }
                    }
                    else if(
level >= 401)
                    {
                    if(
GetPlayerHealth(playeridhealth) < 150) {
                    
SetPlayerHealth(playeridhealth 150.0); }
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE"* Your Sex Skill Level is so high you gave high health and No STD.");
                    
SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* The Whore's Sex Skill Level is so high you got high health and No STD.");
                    }
                    }
                    else
                    {
                    
SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* The player used a Condom.");
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE"* You used a Condom.");
                    
Condom[playerid] --;
                    }
                    }
                    else
                    {
                    
SendClientMessage(SexOffer[playerid], COLOR_LIGHTBLUE"* That player was already infected with a STD, can't get another one.");
                    return 
1;
                    }
                    
SexOffer[playerid] = 999;
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You or the Whore are not both in a Car !");
                    return 
1;
                    }
                    }
//Connected or not
                    
return 1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You can't afford the Sex!");
                    return 
1;
                    }
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You dont have any Sex offerd by a Whore !");
                    return 
1;
                    }
                    }
                    if( 
listitem == 18 )
                    {
                    if(
RepairOffer[playerid] < 999)
                    {
                    if(
GetPlayerCash(playerid) > RepairPrice[playerid])
                    {
                    if(
IsPlayerInAnyVehicle(playerid))
                    {
                    if(
IsPlayerConnected(RepairOffer[playerid]))
                    {
                    
GetPlayerName(RepairOffer[playerid], giveplayersizeof(giveplayer));
                    
GetPlayerName(playeridsendernamesizeof(sendername));
                    
RepairCar[playerid] = GetPlayerVehicleID(playerid);
                    
SetVehicleHealth(RepairCar[playerid], 1000.0);
                    
format(stringsizeof(string), "* You repaired your car for $%d by Car Mechanic %s.",RepairPrice[playerid],giveplayer);
                    
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
                    
format(stringsizeof(string), "* You fixed %s's car, the $%d has been added to your PayCheck.",sendername,RepairPrice[playerid]);
                    
SendClientMessage(RepairOffer[playerid], COLOR_LIGHTBLUEstring);
                    
PlayerInfo[RepairOffer[playerid]][pMechSkill] ++;
                    if(
PlayerInfo[RepairOffer[playerid]][pMechSkill] == 50)
                    { 
SendClientMessage(RepairOffer[playerid], COLOR_YELLOW"* Your Car Mechanic Skill is now Level 2, you can add more Fuel to any Players Cars."); }
                    else if(
PlayerInfo[RepairOffer[playerid]][pMechSkill] == 100)
                    { 
SendClientMessage(RepairOffer[playerid], COLOR_YELLOW"* Your Car Mechanic Skill is now Level 3, you can add more Fuel to any Players Cars."); }
                    else if(
PlayerInfo[RepairOffer[playerid]][pMechSkill] == 200)
                    { 
SendClientMessage(RepairOffer[playerid], COLOR_YELLOW"* Your Car Mechanic Skill is now Level 4, you can add more Fuel to any Players Cars."); }
                    else if(
PlayerInfo[RepairOffer[playerid]][pMechSkill] == 400)
                    { 
SendClientMessage(RepairOffer[playerid], COLOR_YELLOW"* Your Car Mechanic Skill is now Level 5, you can add more Fuel to any Players Cars."); }
                    
PlayerInfo[RepairOffer[playerid]][pPayCheck] += RepairPrice[playerid];
                    
GivePlayerCash(playerid, -RepairPrice[playerid]);
                    
RepairOffer[playerid] = 999;
                    
RepairPrice[playerid] = 0;
                    return 
1;
                    }
                    return 
1;
                    }
                    else
                    {
                    
SendClientMessage(playeridCOLOR_GREY"   You can't afford the Repair !");
                    return 
1;
                    }
//not connected
                    
return 1;
                    } 
PHP код:
Errors:
C:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(2639) : error 017undefined symbol "GivePlayerCash"
C:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(2668) : error 017undefined symbol "GivePlayerCash"
C:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3280) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3284) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3296) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3300) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3304) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3308) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3312) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3316) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3320) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3324) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3328) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3340) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3344) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3348) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3352) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3356) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3368) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3372) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3395) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3410) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3425) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3441) : error 004: function "PlayerToPoint" is not implemented
C
:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(3621) : error 017undefined symbol "GivePlayerCash"
C:\Users\DarK\Documents\GTA SAN ANDREAS\Server\gamemodes\Romania.pwn(4193) : error 017undefined symbol "GivePlayerCash" 
Reply
#2

You don't got the functions in your script,
Код:
GivePlayerCash
//and
PlayerToPoint
If you've never made them it's a little hard to use them :S
Reply
#3

hmm add this anywhere you want
pawn Код:
stock GivePlayerCash(playerid,ammount)
    {
         return GivePlayerMoney(playerid,ammount);
    }
you don't have PlayerToPoint function implented

for GivePlayerCash: i posted the script above
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)