16.04.2012, 15:09
Im wondering how much is too much for OPU
the thing is I just dont know, I dont use it at all but seams like it could be good for some stuff.
is code like this too much?
can I do more things here like some simple function-less checks in variables?
What functions should i stay away from using in OnPlayerUpdate?
I want to get an idea as to what I can use this callback for.
If i can remove a timer or 2 then I will.
the thing is I just dont know, I dont use it at all but seams like it could be good for some stuff.
is code like this too much?
pawn Код:
GetPlayerPos(playerid, aPlayerInfo[playerid][pLastX], aPlayerInfo[playerid][pLastY], aPlayerInfo[playerid][pLastZ]);
GetPlayerFacingAngle(playerid,aPlayerInfo[playerid][pLastA]);
aPlayerInfo[playerid][pInterior] = GetPlayerInterior(playerid);
aPlayerInfo[playerid][pVituralWorld] = GetPlayerVirtualWorld(playerid);
What functions should i stay away from using in OnPlayerUpdate?
I want to get an idea as to what I can use this callback for.
If i can remove a timer or 2 then I will.