17.02.2011, 19:11
(
Последний раз редактировалось Gh0sT_; 19.02.2011 в 11:30.
)
Yes, yes.. Another entrances creating system.. But, this have some functions, like...
Lock/unlock;
Uses y_ini, so you can edit any entrance info in .ini file.
Uses foreach, instead of normal loops,
3D Texts
[quote]http://pawn.pastebin.com/cTfykseS - 1.0
http://pawn.pastebin.com/Ebvp8bBT - 2.1
2.1:
Fixed mistake with loading entrances(thanks to Wups).
Added function: DeleteEntrance
Lock/unlock;
Uses y_ini, so you can edit any entrance info in .ini file.
Uses foreach, instead of normal loops,
3D Texts
FUNCTIONS
Quote:
LockEntrance( entranceid ) - Will lock/unlock. *entranceid*. If entrance is locked, it will be unlocked, if its unlocked, then it will be locked. DeleteEntrance( entranceid ) CreateEntrance( name[ ], enterX, enterY, enterZ, exitX, exitY, exitZ, interiorid, virtualid, locked ) PARAMS Name - text of 3d text label enterX, enterY, enterZ - where player will be spawned when he exit any building, and where player need to enter building. exitX, exitY, exitZ - where player will be spawned when he enter any building, and where player need to exit building interiorid, virtualid - virtual world, interior ID's locked: 1 - building will be closed, 0 - not. |
LINES
Quote:
236. |
BUGS
Quote:
None at this moment. If you found ANY BUG, report it, thanks! |
CREDITS
Quote:
foreach, y_ini - ****** a_samp - samp devs |
DOWNLOAD
[quote]http://pawn.pastebin.com/cTfykseS - 1.0
http://pawn.pastebin.com/Ebvp8bBT - 2.1
UPDATES
Quote:
2.0: Added hours mode... If GMT in your country is < minh or > maxh - player will CANT enter building.. (You will set minh, maxh in CreateEntrance). Also, you can disable it in top of script. Fixed small mistake with locked buildings |
Fixed mistake with loading entrances(thanks to Wups).
Added function: DeleteEntrance