Can i do it like this?
#7

I did like this now
pawn Код:
if(PlayerInfo[playerid][pMaskuse] == 1)
            {
                format(string, sizeof(string), "* %s takes out a cellphone.",sendername);
                SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
                ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
                new phonenumb = strval(tmp);
                if(phonenumb == 115)
            }
            else if(PlayerInfo[playerid][pMaskuse] == 0)
            {
                if(PlayerInfo[playerid][pMaskuse] == 0)
                format(string, sizeof(string), "* Stranger takes out a cellphone.");
                SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
                ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
                if(phonenumb == 115)
            {
                SendClientMessage(playerid, COLOR_GREEN, "____________Services number list____________");
                SendClientMessage(playerid, COLOR_WHITE, "111 - pizza stack co., 222 - bus services");
                SendClientMessage(playerid, COLOR_WHITE, "103 - medics, 444 - taxi, 555 - mechanic");
                SendClientMessage(playerid, COLOR_WHITE, "151 - Advertisement Agency, 150 - ABC Studios");
                SendClientMessage(playerid, COLOR_GREEN, "____________________________________________");
                return 1;
            }
and i got 26 errors that dosnt even make sense, soooo where did i miss a bracket or something?
Reply


Messages In This Thread
Can i do it like this? - by Don_Cage - 18.03.2013, 20:23
Re: Can i do it like this? - by Jstylezzz - 18.03.2013, 20:24
Re: Can i do it like this? - by Misiur - 18.03.2013, 20:26
Re: Can i do it like this? - by Don_Cage - 18.03.2013, 20:28
Re: Can i do it like this? - by Misiur - 18.03.2013, 20:34
Re: Can i do it like this? - by Don_Cage - 19.03.2013, 17:03
Re: Can i do it like this? - by Don_Cage - 19.03.2013, 17:13
Re: Can i do it like this? - by Misiur - 19.03.2013, 17:20
Re: Can i do it like this? - by Don_Cage - 19.03.2013, 17:27
Re: Can i do it like this? - by Misiur - 19.03.2013, 17:32

Forum Jump:


Users browsing this thread: 1 Guest(s)