/exit problem
#2

try to detect problem-source with print

PHP код:
if(strcmp(cmd"/exit"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
              
GetPlayerName(playeridsendernamesizeof(sendername));
            for(new 
0sizeof(BizzInfo); i++)
            {
                    print(
"1. yes");
              if(
IsPlayerInRangeOfPointplayerid5.0BizzInfo[PlayerInfo[playerid][InBusiness]][bExitX], BizzInfo[PlayerInfo[playerid][InBusiness]][bExitY], BizzInfo[PlayerInfo[playerid][InBusiness]][bExitZ]))
            {
                print(
"2. yes");
                if(
GetPlayerVirtualWorldplayerid ) > 0)
                 {
                     print(
"3. yes");
                    if(
PlayerInfo[playerid][InBusiness] != 0)
                      {
                          print(
"4. yes");
                        if(
PlayerInfo[playerid][pMask] == 1)
                        {
                            
format(stringsizeof(string), "* Stranger has left the <a href="http://cityadspix.com/tsclick-BQCE4WRF-SLZKVXTQ?&sa=mh&sa1=&sa2=&sa3=&sa4=&sa5=&bt=20&pt=9&lt=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&lt=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&lt=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
//........................................................... 
Reply


Messages In This Thread
/exit problem - by marshallbrown - 25.02.2015, 09:42
Re: /exit problem - by Golf - 25.02.2015, 10:10
Re: /exit problem - by marshallbrown - 25.02.2015, 13:27
Re: /exit problem - by CalvinC - 25.02.2015, 13:43

Forum Jump:


Users browsing this thread: 1 Guest(s)