08.02.2014, 08:02
Features
- Unlimited signs *
- 23 traffic signs
- Ideal for RP server
- There aren't custom objects, ie, all players in the server can see them.
* MAX_SIGNS = 500 (can be changed)
Functions
Signs
Credits
adri1
Incognito (streamer)
Download
Streamer
- Unlimited signs *
- 23 traffic signs
- Ideal for RP server
- There aren't custom objects, ie, all players in the server can see them.
* MAX_SIGNS = 500 (can be changed)
Functions
pawn Code:
CreateTrafficSign(signid, Float:x, Float:y, Float:z, Float:rz, Float:viewdistance = 200.0, string[] = "")
signid - Sign id
Float:x - Position X
Float:y - Position Y
Float:z - Position Z
Float:rz - Angle
Float:viewdistance - The draw distance signal
string[] - Served for some particular signals. (maximum speed, minimum speed and maximum tons)
returns the ID of the signal (to be destroyed later)
pawn Code:
DestroyTrafficSign(signid)
signid - The signal (the ID, not the type of signal)
pawn Code:
IsValidTrafficSign(signid)
signid - The signal (the ID, not the type of signal)
Signs
Code:
#define SIGN_STOP 0 #define SIGN_YIELD 1 #define SIGN_PROHIBITED 2 #define SIGN_PROHIBITED2 3 #define SIGN_CROSSWALK 4 #define SIGN_MAXVELOCITY 5 #define SIGN_MINVELOCITY 6 #define SIGN_MAXTONNE 7 #define SIGN_WALKERONLY 8 #define SIGN_BIKEONLY 9 #define SIGN_BIKEPROHIBITED 10 #define SIGN_PROHIBITEDDIR1 11 #define SIGN_PROHIBITEDDIR2 12 #define SIGN_PROHIBITEDDIR3 13 #define SIGN_PROHIBITEDDIR4 14 #define SIGN_GODIR1 15 #define SIGN_GODIR2 16 #define SIGN_GODIR3 17 #define SIGN_GODIR4 18 #define SIGN_TAXI 19 #define SIGN_BUS 20 #define SIGN_PARKING1 21 #define SIGN_PARKING2 22
Credits
adri1
Incognito (streamer)
Download
Streamer