Posts: 2,938
Threads: 162
Joined: May 2010
22.04.2012, 19:26
(
Последний раз редактировалось Kar; 22.04.2012 в 23:21.
)
pawn Код:
GetPlayerDistanceFromPoint2D
Edit for the dude below, I meant for the speed.. because Kalcor added GetPlayerDistanceFromPoint (3D) in 0.3c revisions
Posts: 2,938
Threads: 162
Joined: May 2010
I think EditAttachedObject should have some control
Possibly
pawn Код:
EditAttachedObject(playerid, index, bool:EditScale = true);
Well.. for this because we can't detect when a player is editing the scale of a object, and some people may not want the scale to be edited. The only workaround is to save the scale before editing then set it back after editing.
Posts: 161
Threads: 12
Joined: Apr 2012
Reputation:
0
Please ! All Functions which provides to destroy something set variables parameter to -1 or so automatically `Pass by reference`
Exampe:Text draw IDs sa-mp server developers almost always stores under variable therefore in TextDrawDestroy reset provided variable to INVALID_TEXT_DRAW. It takes lot of memory doing it by our selves if lots of text draws are used... The same for 3D texts etc....
Posts: 183
Threads: 1
Joined: Apr 2010
Reputation:
0
Add attach to vehicle part (door, boot, bonnet)
Posts: 161
Threads: 12
Joined: Apr 2012
Reputation:
0
Edit GTA San Andreas engine so gametexts and textdraws supports UTF8 characters and others.