Need help with PNS command!
#6

The command makes zero sense. Especially this part:
Код:
if(IsPlayerInAnyVehicle(playerid))
            {
                SetVehiclePos(playerid, 2065.4656,-1831.3871,13.3786);
            }
            else
            {
                SetPlayerPos(playerid, 2065.4656,-1831.3871,13.3786);
                TogglePlayerControllable(playerid, 0);
                SetTimerEx("PNSfreeze", 5000, false, "i", playerid);
                GivePlayerMoney(playerid,-3500);
                return 1;
            }
Do you even understand what the condition performs here? Why'd you move a player in the PNS if he's not in any vehicle? That's exactly what your condition does, moves the vehicle if the player is in any, if he's not, it moves him, freezes him and whatever else you wrote there. Fix that and it should work.
Reply


Messages In This Thread
Need help with PNS command! - by Hade. - 28.02.2013, 19:04
Re: Need help with PNS command! - by Basssiiie - 28.02.2013, 21:36
Re: Need help with PNS command! - by Hade. - 01.03.2013, 10:07
Re: Need help with PNS command! - by Hade. - 01.03.2013, 14:06
Re: Need help with PNS command! - by Basssiiie - 01.03.2013, 14:40
Re: Need help with PNS command! - by Mmartin - 01.03.2013, 14:46
Re: Need help with PNS command! - by Hade. - 01.03.2013, 15:05
Re: Need help with PNS command! - by Hade. - 01.03.2013, 15:26

Forum Jump:


Users browsing this thread: 2 Guest(s)