10.11.2012, 18:44
Hey,
i was wondering if samp can't detect if you were on foot before you entered a car only when you
are extremely lagging? what do you guys think?
for example:
this message can't appear ingame when i do it like this without using PutPlayerInVehicle somewhere in script.
so this message would never appear right? because when you leave the car and enter as driver, your oldstate should be PLAYER_STATE_ONFOOT before your state changes to PLAYER_STATE_DRIVER right?
or, if youre terribly lagging, is it possible that its not noticing you being ONFOOT before you entered the car as driver? so this message would appear when lagging that bad?
this just made me thing a lot ^^
im looking forward to your answers,
Cutx
i was wondering if samp can't detect if you were on foot before you entered a car only when you
are extremely lagging? what do you guys think?
for example:
this message can't appear ingame when i do it like this without using PutPlayerInVehicle somewhere in script.
Код:
if(oldstate == PLAYER_STATE_PASSENGER && newstate == PLAYER_STATE_DRIVER) { SendClientMessage(playerid,0xFFFFFF,"Statechange from Passenger to driver"); }
or, if youre terribly lagging, is it possible that its not noticing you being ONFOOT before you entered the car as driver? so this message would appear when lagging that bad?
this just made me thing a lot ^^
im looking forward to your answers,
Cutx