[Ajuda] Ajuda com Cores
#1

Bom mappei uma org , coloquei no GM mais os carros ficaram brancos:

YakuzaCar[0] = AddStaticVehicleEx(498,679.2999878,-1302.5000000,13.8000002,65,1,15); // Boxville [ 214 ]
YakuzaCar[1] = AddStaticVehicleEx(498,679.5000000,-1297.1999512,13.8000002,65,1,15); // Boxville [ 215 ]
YakuzaCar[2] = AddStaticVehicleEx(565,679.4000244,-1289.8000488,13.3000002,65,1,15); // Flash [ 216 ]
YakuzaCar[3] = AddStaticVehicleEx(565,679.4000244,-1286.1999512,13.3000002,65,1,15); // Flash [ 217 ]
YakuzaCar[4] = AddStaticVehicleEx(580,679.0999756,-1257.4000244,13.5000000,65,1,15); // Stafford [ 218 ]
YakuzaCar[5] = AddStaticVehicleEx(580,678.9000244,-1262.5000000,13.5000000,65,1,15); // Stafford [ 219 ]
YakuzaCar[6] = AddStaticVehicleEx(580,678.7999878,-1267.5999756,13.5000000,65,1,15,); // Stafford [ 220 ]
YakuzaCar[7] = AddStaticVehicleEx(405,679.4000244,-1282.0000000,13.6000004,65,1,1,); // Sentinel [ 221 ]
YakuzaCar[8] = AddStaticVehicleEx(521,658.0999756,-1286.1999512,13.3000002,37,37,15); // FCR [ 222 ]
YakuzaCar[9] = AddStaticVehicleEx(521,658.0000000,-1283.9000244,13.3000002,37,37,15); // FCR [ 223 ]
YakuzaCar[10] = AddStaticVehicleEx(487,756.0999756,-1227.6999512,13.8000002,151,149,15); // Maverick [ 224 ]

Queria colocar a cor Principal : ID 65

e a secundaria : 65

Alguem faz pra mim ?
Reply
#2

AddStaticVehicleEx(modelid, Floatpawn_x, Floatpawn_y, Floatpawn_z, Float:angle, color1, color2, respawn_delay)

modelid = modelo
spawn_x = Coordenada X
spawn_y = Coordenada Y
spawn_z = Coordenada Z
angle = вngulo
color1 = cor primбria
color2 = cor secundбria
respawn_delay = tempo pro carro respawnar (em ms)
Reply
#3

Tem como fazer pra mim pfv ? nao entendi
Reply
#4

Quote:
Originally Posted by SpiriiT
View Post
Tem como fazer pra mim pfv ? nao entendi
Sу vou explicar uma vez a funзгo que vocк estб usando.

AddStaticVehicle(522,0.0,1.1,2.2,3.3,4,5);

522 = Modelo do Veнculo.
0.0 = Coordenada X.
1.1 = Coordenada Y.
2.2 = Coordenada Z.
3.3 = Coordenada Angle.
4 = Cor Primaria.
5 = Cor Secundaria.

Se nгo entendeu se mata.
Reply
#5

pawn Code:
////////////////////////////// Modelo || Coordenada X || Coordenada Y  || Coordenada Z || ANGULO || Cor Primaria || Cor Secundaria
YakuzaCar[0] = AddStaticVehicleEx(498,6790.2999878 ,-1302.5000000 ,1300.8000002, 65 ,1 ,15); // Boxville [ 214 ]
//.....
//.....
Cores: Aqui

Como disse nosso jovem Padauг tonisantolia, se nгo intendeu, Se mata.
Reply
#6

Quote:
Originally Posted by SpiriiT
View Post
Bom mappei uma org , coloquei no GM mais os carros ficaram brancos:

YakuzaCar[0] = AddStaticVehicleEx(498,679.2999878,-1302.5000000,13.8000002,65,65,15); // Boxville [ 214 ]
YakuzaCar[1] = AddStaticVehicleEx(498,679.5000000,-1297.1999512,13.8000002,65,65,15); // Boxville [ 215 ]
YakuzaCar[2] = AddStaticVehicleEx(565,679.4000244,-1289.8000488,13.3000002,65,65,15); // Flash [ 216 ]
YakuzaCar[3] = AddStaticVehicleEx(565,679.4000244,-1286.1999512,13.3000002,65,65,15); // Flash [ 217 ]
YakuzaCar[4] = AddStaticVehicleEx(580,679.0999756,-1257.4000244,13.5000000,65,65,15); // Stafford [ 218 ]
YakuzaCar[5] = AddStaticVehicleEx(580,678.9000244,-1262.5000000,13.5000000,65,65,15); // Stafford [ 219 ]
YakuzaCar[6] = AddStaticVehicleEx(580,678.7999878,-1267.5999756,13.5000000,65,65,15,); // Stafford [ 220 ]
YakuzaCar[7] = AddStaticVehicleEx(405,679.4000244,-1282.0000000,13.6000004,65,65,1,); // Sentinel [ 221 ]
YakuzaCar[8] = AddStaticVehicleEx(521,658.0999756,-1286.1999512,13.3000002,65,65,15); // FCR [ 222 ]
YakuzaCar[9] = AddStaticVehicleEx(521,658.0000000,-1283.9000244,13.3000002,65,65,15); // FCR [ 223 ]
YakuzaCar[10] = AddStaticVehicleEx(487,756.0999756,-1227.6999512,13.8000002,65,65,15); // Maverick [ 224 ]

Queria colocar a cor Principal : ID 65

e a secundaria : 65

Alguem faz pra mim ?
Taн.
Reply
#7

Quote:
Originally Posted by SpiriiT
View Post
Bom mappei uma org , coloquei no GM mais os carros ficaram brancos:

YakuzaCar[0] = AddStaticVehicleEx(498,679.2999878,-1302.5000000,13.8000002,65,1,15); // Boxville [ 214 ]
YakuzaCar[1] = AddStaticVehicleEx(498,679.5000000,-1297.1999512,13.8000002,65,1,15); // Boxville [ 215 ]
YakuzaCar[2] = AddStaticVehicleEx(565,679.4000244,-1289.8000488,13.3000002,65,1,15); // Flash [ 216 ]
YakuzaCar[3] = AddStaticVehicleEx(565,679.4000244,-1286.1999512,13.3000002,65,1,15); // Flash [ 217 ]
YakuzaCar[4] = AddStaticVehicleEx(580,679.0999756,-1257.4000244,13.5000000,65,1,15); // Stafford [ 218 ]
YakuzaCar[5] = AddStaticVehicleEx(580,678.9000244,-1262.5000000,13.5000000,65,1,15); // Stafford [ 219 ]
YakuzaCar[6] = AddStaticVehicleEx(580,678.7999878,-1267.5999756,13.5000000,65,1,15,); // Stafford [ 220 ]
YakuzaCar[7] = AddStaticVehicleEx(405,679.4000244,-1282.0000000,13.6000004,65,1,1,); // Sentinel [ 221 ]
YakuzaCar[8] = AddStaticVehicleEx(521,658.0999756,-1286.1999512,13.3000002,37,37,15); // FCR [ 222 ]
YakuzaCar[9] = AddStaticVehicleEx(521,658.0000000,-1283.9000244,13.3000002,37,37,15); // FCR [ 223 ]
YakuzaCar[10] = AddStaticVehicleEx(487,756.0999756,-1227.6999512,13.8000002,151,149,15); // Maverick [ 224 ]

Queria colocar a cor Principal : ID 65

e a secundaria : 65

Alguem faz pra mim ?
Quote:
Originally Posted by ScorpionBR
View Post
Taн.
Tem certeza que isso ta certo ?

Certo:
pawn Code:
//
    YakuzaCar[0] = AddStaticVehicleEx(498,679.2999878,-1302.5000000,13.8000002,0.0,65,65); // Boxville      [ 214 ]
    YakuzaCar[1] = AddStaticVehicleEx(498,679.5000000,-1297.1999512,13.8000002,0.0,65,65); // Boxville    [ 215 ]
    YakuzaCar[2] = AddStaticVehicleEx(565,679.4000244,-1289.8000488,13.3000002,0.0,65,65); // Flash       [ 216 ]
    YakuzaCar[3] = AddStaticVehicleEx(565,679.4000244,-1286.1999512,13.3000002,0.0,65,65); // Flash     [ 217 ]
    YakuzaCar[4] = AddStaticVehicleEx(580,679.0999756,-1257.4000244,13.5000000,0.0,65,65); // Stafford       [ 218 ]
    YakuzaCar[5] = AddStaticVehicleEx(580,678.9000244,-1262.5000000,13.5000000,0.0,65,65); // Stafford     [ 219 ]
    YakuzaCar[6] = AddStaticVehicleEx(580,678.7999878,-1267.5999756,13.5000000,0.0,65,65); // Stafford      [ 220 ]
    YakuzaCar[7] = AddStaticVehicleEx(405,679.4000244,-1282.0000000,13.6000004,0.0,65,65); // Sentinel     [ 221 ]
    YakuzaCar[8] = AddStaticVehicleEx(521,658.0999756,-1286.1999512,13.3000002,0.0,65,65); // FCR         [ 222 ]
    YakuzaCar[9] = AddStaticVehicleEx(521,658.0000000,-1283.9000244,13.3000002,0.0,65,65); // FCR      [ 223 ]
    YakuzaCar[10] = AddStaticVehicleEx(487,756.0999756,-1227.6999512,13.8000002,0.0,65,65); // Maverick        [ 224 ]
Reply
#8

Quote:
Originally Posted by Murilo_sousa
View Post
Tem certeza que isso ta certo ?

Certo:
pawn Code:
//
    YakuzaCar[0] = AddStaticVehicleEx(498,679.2999878,-1302.5000000,13.8000002,0.0,65,65); // Boxville      [ 214 ]
    YakuzaCar[1] = AddStaticVehicleEx(498,679.5000000,-1297.1999512,13.8000002,0.0,65,65); // Boxville    [ 215 ]
    YakuzaCar[2] = AddStaticVehicleEx(565,679.4000244,-1289.8000488,13.3000002,0.0,65,65); // Flash       [ 216 ]
    YakuzaCar[3] = AddStaticVehicleEx(565,679.4000244,-1286.1999512,13.3000002,0.0,65,65); // Flash     [ 217 ]
    YakuzaCar[4] = AddStaticVehicleEx(580,679.0999756,-1257.4000244,13.5000000,0.0,65,65); // Stafford       [ 218 ]
    YakuzaCar[5] = AddStaticVehicleEx(580,678.9000244,-1262.5000000,13.5000000,0.0,65,65); // Stafford     [ 219 ]
    YakuzaCar[6] = AddStaticVehicleEx(580,678.7999878,-1267.5999756,13.5000000,0.0,65,65); // Stafford      [ 220 ]
    YakuzaCar[7] = AddStaticVehicleEx(405,679.4000244,-1282.0000000,13.6000004,0.0,65,65); // Sentinel     [ 221 ]
    YakuzaCar[8] = AddStaticVehicleEx(521,658.0999756,-1286.1999512,13.3000002,0.0,65,65); // FCR         [ 222 ]
    YakuzaCar[9] = AddStaticVehicleEx(521,658.0000000,-1283.9000244,13.3000002,0.0,65,65); // FCR      [ 223 ]
    YakuzaCar[10] = AddStaticVehicleEx(487,756.0999756,-1227.6999512,13.8000002,0.0,65,65); // Maverick        [ 224 ]
e o warning do addstaticvehicleex sem o ultimo parametro de respawn?
Reply
#9

Quote:
Originally Posted by Murilo_sousa
View Post
Tem certeza que isso ta certo ?

Certo:
pawn Code:
//
    YakuzaCar[0] = AddStaticVehicleEx(498,679.2999878,-1302.5000000,13.8000002,0.0,65,65); // Boxville      [ 214 ]
    YakuzaCar[1] = AddStaticVehicleEx(498,679.5000000,-1297.1999512,13.8000002,0.0,65,65); // Boxville    [ 215 ]
    YakuzaCar[2] = AddStaticVehicleEx(565,679.4000244,-1289.8000488,13.3000002,0.0,65,65); // Flash       [ 216 ]
    YakuzaCar[3] = AddStaticVehicleEx(565,679.4000244,-1286.1999512,13.3000002,0.0,65,65); // Flash     [ 217 ]
    YakuzaCar[4] = AddStaticVehicleEx(580,679.0999756,-1257.4000244,13.5000000,0.0,65,65); // Stafford       [ 218 ]
    YakuzaCar[5] = AddStaticVehicleEx(580,678.9000244,-1262.5000000,13.5000000,0.0,65,65); // Stafford     [ 219 ]
    YakuzaCar[6] = AddStaticVehicleEx(580,678.7999878,-1267.5999756,13.5000000,0.0,65,65); // Stafford      [ 220 ]
    YakuzaCar[7] = AddStaticVehicleEx(405,679.4000244,-1282.0000000,13.6000004,0.0,65,65); // Sentinel     [ 221 ]
    YakuzaCar[8] = AddStaticVehicleEx(521,658.0999756,-1286.1999512,13.3000002,0.0,65,65); // FCR         [ 222 ]
    YakuzaCar[9] = AddStaticVehicleEx(521,658.0000000,-1283.9000244,13.3000002,0.0,65,65); // FCR      [ 223 ]
    YakuzaCar[10] = AddStaticVehicleEx(487,756.0999756,-1227.6999512,13.8000002,0.0,65,65); // Maverick        [ 224 ]
AddStaticVehicleEx(modelid, Floatpawn_x, Floatpawn_y, Floatpawn_z, Float:angle, color1, color2, respawn_delay)

Acredito que vocк quiz dizer AddStaticVehicle.
Reply
#10

pawn Code:
YakuzaCar[0] = AddStaticVehicleEx(498, 679.2999878, -1302.5000000, 13.8000002, 65, 65, 65, 15); // Boxville [ 214 ]
YakuzaCar[1] = AddStaticVehicleEx(498, 679.5000000, -1297.1999512, 13.8000002, 65, 65, 65, 15); // Boxville [ 215 ]
YakuzaCar[2] = AddStaticVehicleEx(565, 679.4000244, -1289.8000488, 13.3000002, 65, 65, 65, 15); // Flash [ 216 ]
YakuzaCar[3] = AddStaticVehicleEx(565, 679.4000244, -1286.1999512, 13.3000002, 65, 65, 65, 15); // Flash [ 217 ]
YakuzaCar[4] = AddStaticVehicleEx(580, 679.0999756, -1257.4000244, 13.5000000, 65, 65, 65, 15); // Stafford [ 218 ]
YakuzaCar[5] = AddStaticVehicleEx(580, 678.9000244, -1262.5000000, 13.5000000, 65, 65, 65, 15); // Stafford [ 219 ]
YakuzaCar[6] = AddStaticVehicleEx(580, 678.7999878, -1267.5999756, 13.5000000, 65, 65, 65, 15); // Stafford [ 220 ]
YakuzaCar[7] = AddStaticVehicleEx(405, 679.4000244, -1282.0000000, 13.6000004, 65, 65, 65, 15); // Sentinel [ 221 ]
YakuzaCar[8] = AddStaticVehicleEx(521, 658.0999756, -1286.1999512, 13.3000002, 37, 65, 65, 15); // FCR [ 222 ]
YakuzaCar[9] = AddStaticVehicleEx(521, 658.0000000, -1283.9000244, 13.3000002, 37, 65, 65, 15); // FCR [ 223 ]
YakuzaCar[10] = AddStaticVehicleEx(487, 756.0999756, -1227.6999512, 13.8000002, 151, 65, 65, 15); // Maverick [ 224 ]
Testei aqui e compilou.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)