Need Help with Return
#3

You can return only 1 var, but can do more actions. Solution is
pawn Код:
case 0:
                {
                if(GetPlayerMoney(playerid) < 1000)
{
SendClientMessage(playerid, 0xFFFFFF, "You don't have enough cash for the Skydive.");
                                                      SetPlayerPos(playerid,1675.6082,-2324.6172,20.5469);
                              SetPlayerInterior(playerid,0);
                              return 0;
                    }
            GivePlayerMoney(playerid, -1000);
                    SetPlayerPos(playerid,0,0,1000);
                    SetPlayerInterior(playerid,0);
                GivePlayerWeapon(playerid, 46, 1);
                }
Reply


Messages In This Thread
Need Help with Return - by tommzy09 - 02.09.2013, 05:22
Re: Need Help with Return - by xganyx - 02.09.2013, 05:30
Re: Need Help with Return - by Borg - 02.09.2013, 05:35
Re: Need Help with Return - by tommzy09 - 02.09.2013, 05:50

Forum Jump:


Users browsing this thread: 1 Guest(s)