04.01.2015, 00:04
(
Последний раз редактировалось [CG]Milito; 04.01.2015 в 00:37.
)
Hi
I've been trying to figure out why this statement is not getting called.
Any kind of help will be appreciated
I've been trying to figure out why this statement is not getting called.
pawn Код:
if(oldstate == PLAYER_STATE_DRIVER && newstate == PLAYER_STATE_ONFOOT)
{
new vehid = LastVehicle[playerid];
if(validcar[vehid])
{
GetVehiclePos(vehid,CarInfo[vehid][cXPos],CarInfo[vehid][cYPos],CarInfo[vehid][cZPos]);
printf("%f, %f, %f",CarInfo[vehid][cXPos],CarInfo[vehid][cYPos],CarInfo[vehid][cZPos]);
}
LastVehicle[playerid]= INVALID_VEHICLE_ID;
}