É uma include ideal para servidores RP, contém 23 sinais de trânsito,
não há objetos personalizados, ou seja, todos os jogadores do
servidor poderam ver as placas normalmente.
- Código:
//CODIGO
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)
//CODIGO
DestroyTrafficSign(signid)
signid - The signal (the ID, not the type of signal)
//CODIGO
IsValidTrafficSign(signid)
signid - The signal (the ID, not the type of signal)
//SINAIS
#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
Última edição por Sŵєєт ١ em Sáb 25 Jun 2016 - 23:16, editado 1 vez(es)