25.02.2015, 10:10
try to detect problem-source with print
PHP код:
if(strcmp(cmd, "/exit", true) == 0)
{
if(IsPlayerConnected(playerid))
{
GetPlayerName(playerid, sendername, sizeof(sendername));
for(new i = 0; i < sizeof(BizzInfo); i++)
{
print("1. yes");
if(IsPlayerInRangeOfPoint( playerid, 5.0, BizzInfo[PlayerInfo[playerid][InBusiness]][bExitX], BizzInfo[PlayerInfo[playerid][InBusiness]][bExitY], BizzInfo[PlayerInfo[playerid][InBusiness]][bExitZ]))
{
print("2. yes");
if(GetPlayerVirtualWorld( playerid ) > 0)
{
print("3. yes");
if(PlayerInfo[playerid][InBusiness] != 0)
{
print("4. yes");
if(PlayerInfo[playerid][pMask] == 1)
{
format(string, sizeof(string), "* Stranger has left the <a href="http://cityadspix.com/tsclick-BQCE4WRF-SLZKVXTQ?&sa=mh&sa1=&sa2=&sa3=&sa4=&sa5=&bt=20&pt=9<=2&tl=1&im=MTc1NS0wLTE0MjQ4NjExMjgtMTE4NjMyMzY%3D&fid=NDQ1NzU2Nzc1&kw=<a href="http://cityadspix.com/tsclick-BQCE4WRF-SLZKVXTQ?&sa=mh&sa1=&sa2=&sa3=&sa4=&sa5=&bt=20&pt=9<=2&tl=1&im=MTc1NS0wLTE0MjQ4NjEzNjctMTM1ODA4Njc%3D&fid=NDQ1NzU2Nzc1&kw=business." target="_blank" alt="<a href="http://cityadspix.com/tsclick-BQCE4WRF-SLZKVXTQ?&sa=mh&sa1=&sa2=&sa3=&sa4=&sa5=&bt=20&pt=9<=2&tl=1&im=MTc1NS0wLTE0MjQ4NjEzNjctMTE1NzIwNTc%3D&fid=NDQ1NzU2Nzc1&kw=mba" target="_blank" alt="mba.ru" title="mba.ru" style="">mba</a>.ru" title="mba.ru" style="">business.</a>" target="_blank" alt="mba.ru" title="mba.ru" style="">business.</a>");
}
else
//...........................................................