Problem
#5

i need help with this cmd keeps saying ""You are not a Car Mechanic"" and i am a car mechanic..

Quote:

{
if (PlayerInfo[playerid][pMember] != 15 || PlayerInfo[playerid][pLeader] != 15)
{
SendClientMessage(playerid, COLOR_GREY, " You are not a Car Mechanic !");
return 1;
}
if(MechanicCallTime[playerid] > 0)
{
SendClientMessage(playerid, COLOR_GREY, " You have already accepted a Mechanic Call !");
return 1;
}
if(MechanicCall < 999)
{
if(IsPlayerConnected(MechanicCall))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(MechanicCall, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "* Iai acceptat apelu lui %s mergi si ajutal pe client.",giveplayer);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
format(string, sizeof(string), "* Mecanicu %s ti-a raspuns la apel,asteapta pana vine!",sendername);
SendClientMessage(MechanicCall, COLOR_LIGHTBLUE, string);
new Float:X,Float:Y,Float:Z;
GetPlayerPos(MechanicCall, X, Y, Z);
SetPlayerCheckpoint(playerid, X, Y, Z, 5);
GameTextForPlayer(playerid, "~w~Mecanic Caller~n~~r~Goto redmarker", 5000, 1);
MechanicCallTime[playerid] = 1;
MechanicCall = 999;
return 1;
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, " No-one called for a Car Mechanic yet !");
return 1;
}
}

Reply


Messages In This Thread
Problem - by Akcent_Voltaj - 11.10.2012, 16:50
Re: Problem - by verlaj - 11.10.2012, 17:28
Re: Problem - by Akcent_Voltaj - 11.10.2012, 18:57
Re: Problem - by Akcent_Voltaj - 12.10.2012, 08:51
Re: Problem - by Akcent_Voltaj - 12.10.2012, 11:00
Re: Problem - by CentyPoo - 12.10.2012, 12:01
Re: Problem - by Akcent_Voltaj - 12.10.2012, 12:57
Re: Problem - by Akcent_Voltaj - 12.10.2012, 13:04
Re: Problem - by Akcent_Voltaj - 12.10.2012, 13:09

Forum Jump:


Users browsing this thread: 1 Guest(s)