How to fix these warnings?
#9

The code before this is:

PHP код:
{
        if(
IsPlayerConnected(playerid))
        {
            if(
PlayerInfo[playerid][pJob] != && PlayerInfo[playerid][pDonateRank] <= 1)
            {
                
SendClientMessage(playerid,COLOR_GREY,"   something!");
                return 
1;
            }
            if(
IsPlayerInRangeOfPoint(playerid3.01423.6151, -1320.543813.5546))             {
                if(
Packages[playerid] >= 10) { SendClientMessage(playeridCOLOR_GREY"   something!"); return 1; }
                if(
CP[playerid] == 1) { SendClientMessage(playeridCOLOR_GREY"   something !"); return 1; }
                if(
Crates[playerid] > 0) { SendClientMessage(playeridCOLOR_GREY,"   something!"); return 1; }
                if(
GetPlayerVirtualWorld(playerid) != 0) { SendClientMessage(playeridCOLOR_GREY"   something !"); SetPlayerHealth(playerid0.0); return 1; }
                if(
PlayerInfo[playerid][pCash] > 499) { SendClientMessageEx(playeridCOLOR_GREY,"    something !"); return 1;}
                {
                    
GotMats[playerid] = 1;
                    
PlayerInfo[playerid][pCash] = PlayerInfo[playerid][pCash]-500;
                    
GivePlayerMoney(playerid, -500);
                    
Packages[playerid] = 10;
                    
CP[playerid] = 2;
                    
SetPlayerCheckpoint(playerid3.02172.21, -2263.2513.32); 
                    
SendClientMessage(playeridCOLOR_LIGHTBLUE"* something.");
                    
GameTextForPlayer(playeridsomething", 5000, 1);
                    PlayerPlaySound(playerid, 1054, 0.0, 0.0, 0.0);
                    return 1;
                }
            }
            else if(IsPlayerInRangeOfPoint(playerid, 3.0, 2390.4053, -2008.2618, 13.5537)) 
            {
                if(Packages[playerid] >= 10) { SendClientMessage(playerid, COLOR_GREY, "   
something!"); return 1; }
                if(CP[playerid] == 1) { SendClientMessage(playerid, COLOR_GREY, "   
something !"); return 1; }
                if(Crates[playerid] > 0) { SendClientMessage(playerid, COLOR_GREY,"   
something!"); return 1; }
                if(GetPlayerVirtualWorld(playerid) != 0) { SendClientMessage(playerid, COLOR_GREY, "   
something !"); SetPlayerHealth(playerid, 0.0); return 1; }
                if(PlayerInfo[playerid][pCash] > 499) { SendClientMessageEx(playerid, COLOR_GREY,"    
something !"); return 1;}
                {
                    GotMats[playerid] = 1;
                    GivePlayerMoney(playerid, -500);
                    Packages[playerid] = 10;
                    CP[playerid] = 3;
                    SetPlayerCheckpoint(playerid, 2288.0730, -1105.4535, 37.9766, 3.0);
                    SendClientMessage(playerid, COLOR_LIGHTBLUE, "
something");
                    GameTextForPlayer(playerid, something"
50001);
                    
PlayerPlaySound(playerid10540.00.00.0);
                    return 
1;
                }
             }
            else
            {
                
SendClientMessage(playeridCOLOR_GREY"   something!");
            }
        }
        return 
1;
    } 
Reply


Messages In This Thread
How to fix these warnings? - by Rohan_Ubhare - 12.05.2012, 11:25
Re: How to fix these warnings? - by D-12 - 12.05.2012, 11:28
Re: How to fix these warnings? - by iGetty - 12.05.2012, 11:30
Re: How to fix these warnings? - by Rohan_Ubhare - 12.05.2012, 11:35
Re: How to fix these warnings? - by Pinguinn - 12.05.2012, 11:37
Re: How to fix these warnings? - by Rohan_Ubhare - 12.05.2012, 11:40
Re: How to fix these warnings? - by AndreT - 12.05.2012, 11:53
Re: How to fix these warnings? - by RedWingz - 12.05.2012, 13:07
Re: How to fix these warnings? - by Rohan_Ubhare - 13.05.2012, 06:34
Re: How to fix these warnings? - by Faisal_khan - 13.05.2012, 06:52

Forum Jump:


Users browsing this thread: 3 Guest(s)