Problem
#3

Quote:
Originally Posted by [HLF]Southclaw
Посмотреть сообщение
Use the debug method in the VehicleLoad function, you need to find out what line the problem is on.
I debugged the whole code
so:
Код:
[13:10:22] 1
[13:10:22] 2
[13:10:22] 3
[13:10:22] 4
[13:10:22] 5
[13:10:22] 6
[13:10:22] 7
[13:10:22] 8
[13:10:22] 9
I even did the timer, so I know it's just the function because the timer didn't start.

pawn Код:
forward VehicleLoad(playerid);
public VehicleLoad(playerid)
{

     new Lastveh;
     print("1");
     Lastveh = GetPlayerVehicleID(playerid);
     print("2");
     RemovePlayerFromVehicle(playerid);
     print("3");
     SendClientMessage(playerid,COLOR_YELLOW,"You have been removed from your vehicle to force objects to load.");
     print("4");
     SendClientMessage(playerid,COLOR_YELLOW,"Your be put back in when they have loaded.");
     print("5");
     new Float:X,Float:Y,Float:Z;
     print("6");
     GetPlayerPos(playerid,X,Y,Z);
     print("7");
     SetPlayerPos(playerid,X,Y,Z);
     print("8");
     TogglePlayerControllable(playerid, false);
     print("9");
     SetTimerEx("LoadVehicleEnd", 3000, 1, "Lastveh",Lastveh);
     return 1;

}

Thanks
Reply


Messages In This Thread
Problem - by Jay. - 25.06.2011, 11:46
Re: Problem - by Jay. - 25.06.2011, 11:56
Re: Problem - by Jay. - 25.06.2011, 12:06
Re: Problem - by Jay. - 25.06.2011, 12:47
Re: Problem - by iPLEOMAX - 25.06.2011, 15:19
Re: Problem - by Jay. - 25.06.2011, 15:38

Forum Jump:


Users browsing this thread: 3 Guest(s)