[Include] Traffic signs (RP) (No custom objects)
#1

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
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
Reply


Messages In This Thread
Traffic signs (RP) (No custom objects) - by adri1 - 08.02.2014, 08:02
Re: Traffic signs (RP) (No custom objects) - by [FSaF]Jarno - 08.02.2014, 08:13
Re: Traffic signs (RP) (No custom objects) - by Sublime - 08.02.2014, 08:21
Re: Traffic signs (RP) (No custom objects) - by Misiur - 08.02.2014, 08:30
Re: Traffic signs (RP) (No custom objects) - by [FSaF]Jarno - 08.02.2014, 09:03
Respuesta: Traffic signs (RP) (No custom objects) - by OTACON - 08.02.2014, 09:34
Respuesta: Traffic signs (RP) (No custom objects) - by MillerUTL - 08.02.2014, 11:38
Re: Traffic signs (RP) (No custom objects) - by Michael@Belgium - 09.02.2014, 09:50
Respuesta: Re: Traffic signs (RP) (No custom objects) - by adri1 - 09.02.2014, 09:53
Re: Traffic signs (RP) (No custom objects) - by PT - 09.02.2014, 12:41
Re: Traffic signs (RP) (No custom objects) - by Abagail - 09.02.2014, 12:51
Re: Traffic signs (RP) (No custom objects) - by Yves - 10.02.2014, 01:18
Re: Traffic signs (RP) (No custom objects) - by Scenario - 10.02.2014, 01:26
Re: Traffic signs (RP) (No custom objects) - by Ballu Miaa - 10.02.2014, 02:22
Re: Traffic signs (RP) (No custom objects) - by Kirollos - 10.02.2014, 02:27
Re: Traffic signs (RP) (No custom objects) - by DerickClark - 10.02.2014, 02:35
Re: Respuesta: Re: Traffic signs (RP) (No custom objects) - by Michael@Belgium - 10.02.2014, 13:49
Re: Traffic signs (RP) (No custom objects) - by seanny - 11.02.2014, 16:49
Re: Traffic signs (RP) (No custom objects) - by wups - 16.02.2014, 11:19
Re: Traffic signs (RP) (No custom objects) - by dimitri8 - 24.02.2014, 10:55
Re: Traffic signs (RP) (No custom objects) - by skydux123 - 18.03.2014, 06:35
Re: Traffic signs (RP) (No custom objects) - by HackMe - 23.03.2015, 02:45
Respuesta: Re: Traffic signs (RP) (No custom objects) - by adri1 - 26.03.2015, 23:08
Re : Respuesta: Re: Traffic signs (RP) (No custom objects) - by AlexBlack - 26.03.2015, 23:12

Forum Jump:


Users browsing this thread: 1 Guest(s)