SA-MP Forums Archive
Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem (/showthread.php?tid=384371)



Problem - Akcent_Voltaj - 11.10.2012

if i enter my host and then my scriptfiles and i open my ini file then the account gets restarted..only at my gamemode..i tryed ravens to see if my problem is host..but no the problem is if i enter any ini file account gets restarted..i have format var..++++REP


Re: Problem - verlaj - 11.10.2012

Try to include #include <YSI\y_ini> maybe that will work.

aren't you using your own include ?
or
have you added ini function in onplayerconnect and disconnect ?


Re: Problem - Akcent_Voltaj - 11.10.2012

everything is good razvens doesent have ysi.ini..


Re: Problem - Akcent_Voltaj - 12.10.2012

anyone know?


Re: Problem - Akcent_Voltaj - 12.10.2012

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;
}
}




Re: Problem - CentyPoo - 12.10.2012

Quote:
Originally Posted by Akcent_Voltaj
Посмотреть сообщение
i need help with this cmd keeps saying ""You are not a Car Mechanic"" and i am a car mechanic..
pawn Код:
if (PlayerInfo[playerid][pMember] != 15 || PlayerInfo[playerid][pLeader] != 15) //change this to..
if (PlayerInfo[playerid][pMember] != 15 && PlayerInfo[playerid][pLeader] != 15)



Re: Problem - Akcent_Voltaj - 12.10.2012

fix the pmember thingy need help with first thing..


Re: Problem - Akcent_Voltaj - 12.10.2012

why isnt this good?

Quote:

CMD:test(playerid,params[])
{
new string2[256];
format(string2,sizeof (string2),"Cash:%d",GetPlayerMoney(playerid));
SendClientMessage(playerid,COLOR_YELLOW,string2);
return 1;
}




Re: Problem - Akcent_Voltaj - 12.10.2012

is dcmd better than zcmd?need a profesional to answer..