Position's Help
#5

Quote:
Originally Posted by MP2
Посмотреть сообщение
Or to save time and make it generally better:

pawn Код:
new Float:OldPlayerPos[MAX_PLAYERS][3];
!

Also note how I named it 'OldPlayerPos'. It's more descriptive than 'OldPos'. 'OldPos' could mean anything. Old position of what? Old position of a vehicle, an object, a player, a squirrel?
Adding player to it doesn't really make a difference if he isn't using it for anything vehicle...squirrel...or object related.

That's like adding a function called SetPlayerHealthWhilePlayerIsBeingShotSoWeCanDoSome WierdAssShitBro(playerid);
When playerid is clearly in our function

Besides that, if he wants to re-use it for a squirrel, he could because it would still be the squirrels old pos after being set (squirrel id 0 for example)

EDIT:
While I do understand your point, making variables exact isn't really needed...Specially if the mode isn't going to be released (or whatever it is). If it is going to be released, you are correct :P
Reply


Messages In This Thread
Position's Help - by [TC]XxJuggaloxX - 07.04.2013, 23:27
Re: Position's Help - by [TC]XxJuggaloxX - 07.04.2013, 23:31
Re: Position's Help - by Pottus - 07.04.2013, 23:46
Re: Position's Help - by MP2 - 08.04.2013, 00:35
Re: Position's Help - by [ABK]Antonio - 08.04.2013, 01:12

Forum Jump:


Users browsing this thread: 1 Guest(s)