OnPlayerUpdate: How much is too much?
#1

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?
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);
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.
Reply


Messages In This Thread
OnPlayerUpdate: How much is too much? - by Jonny5 - 16.04.2012, 15:09
Re: OnPlayerUpdate: How much is too much? - by AndreT - 16.04.2012, 15:13
Re: OnPlayerUpdate: How much is too much? - by Jonny5 - 16.04.2012, 15:22
Re: OnPlayerUpdate: How much is too much? - by Jonny5 - 16.04.2012, 16:30
Re: OnPlayerUpdate: How much is too much? - by Jonny5 - 25.04.2012, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)