[Pomoc]Warning


Započeo orao, April 08, 2013, 22:33:54 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Citat: orao poslato April 09, 2013, 01:42:26 PRE PODNE
taj je------for(new i = 0; i <  sizeof(BizzInfo); i++)
         {
            if (PlayerToPoint(3, playerid,BizzInfo[bExitX], BizzInfo[bExitY], BizzInfo[bExitZ]))
            {
               SetPlayerInterior(playerid,0);
               PlayerInfo[playerid][pInt] = 0;
               JBC_SetPlayerPos(playerid,BizzInfo[bEntranceX],BizzInfo[bEntranceY],BizzInfo[bEntranceZ]);
               PlayerInfo[playerid][pLocal] = 255;
            }
            else if(PlayerToPoint(3,playerid,1189.790161,-912.604858,1.311782) || PlayerToPoint(3,playerid,793.063415,-1622.839111,-10.992186) || PlayerToPoint(3,playerid,932.051208,-1353.114013,-22.488183))
            {
                OnPlayerExitFood(playerid);
                InAFoodPlace[playerid] = 0;
            }
         }
    }
            return 1;
         }
Prodaj ovako
for(new i = 0; i <  sizeof(BizzInfo); i++)
			{
				//printf("Bizz :%d",i);
				if (PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ]))
				{
					SetPlayerInterior(playerid,0);
					PlayerInfo[playerid][pInt] = 0;
					SetPlayerPos(playerid,BizzInfo[i][bEntranceX],BizzInfo[i][bEntranceY],BizzInfo[i][bEntranceZ]);
					PlayerInfo[playerid][pLocal] = 255;
				}
				else if(PlayerToPoint(3,playerid,1189.790161,-912.604858,1.311782) || PlayerToPoint(3,playerid,793.063415,-1622.839111,-10.992186) || PlayerToPoint(3,playerid,932.051208,-1353.114013,-22.488183))
				{
				    OnPlayerExitFood(playerid);
				    InAFoodPlace[playerid] = 0;
				}
			}

Nije to :(
BIG RESPEKT ZA KUNNA!!!!