SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 11/01/2013, 01:21 AM   #1
SpiriiT
Little Clucker
 
Join Date: Jan 2013
Posts: 22
Reputation: 0
Default Ajuda com Cores

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 ?
SpiriiT is offline   Reply With Quote
Old 11/01/2013, 01:48 AM   #2
Pedro_BML
Big Clucker
 
Pedro_BML's Avatar
 
Join Date: Apr 2012
Posts: 165
Reputation: 29
Default Re: Ajuda com Cores

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)
__________________

Brasil Life Simulation RPG: Um novo conceito de RolePlayingGame!

Brasil Life Simulation RPG v2.0
IP: 72.20.12.41:7777
Venha conhecer o nosso servidor!

Lançado 26/08/2012!
Pedro_BML is offline   Reply With Quote
Old 11/01/2013, 01:57 AM   #3
SpiriiT
Little Clucker
 
Join Date: Jan 2013
Posts: 22
Reputation: 0
Default Re: Ajuda com Cores

Tem como fazer pra mim pfv ? nao entendi
SpiriiT is offline   Reply With Quote
Old 11/01/2013, 02:06 AM   #4
tonisantolia
High-roller
 
tonisantolia's Avatar
 
Join Date: Aug 2011
Posts: 1,617
Reputation: 116
Default Re: Ajuda com Cores

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.
tonisantolia is offline   Reply With Quote
Old 11/01/2013, 02:46 AM   #5
Maklister
High-roller
 
Maklister's Avatar
 
Join Date: May 2012
Location: » San Andreas « User type: » High-roller «
Posts: 2,138
Reputation: 135
Default Re: Ajuda com Cores

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.
Maklister is offline   Reply With Quote
Old 11/01/2013, 02:52 AM   #6
ScorpionBR
Little Clucker
 
ScorpionBR's Avatar
 
Join Date: Jan 2013
Posts: 11
Reputation: 0
Default Re: Ajuda com Cores

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í.
ScorpionBR is offline   Reply With Quote
Old 11/01/2013, 03:09 AM   #7
Maklister
High-roller
 
Maklister's Avatar
 
Join Date: May 2012
Location: » San Andreas « User type: » High-roller «
Posts: 2,138
Reputation: 135
Default Re: Ajuda com Cores

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 ]
Maklister is offline   Reply With Quote
Old 11/01/2013, 03:19 AM   #8
tonisantolia
High-roller
 
tonisantolia's Avatar
 
Join Date: Aug 2011
Posts: 1,617
Reputation: 116
Default Re: Ajuda com Cores

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?
tonisantolia is offline   Reply With Quote
Old 11/01/2013, 04:11 AM   #9
ScorpionBR
Little Clucker
 
ScorpionBR's Avatar
 
Join Date: Jan 2013
Posts: 11
Reputation: 0
Default Re: Ajuda com Cores

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.
ScorpionBR is offline   Reply With Quote
Old 11/01/2013, 10:16 AM   #10
HardWar
Huge Clucker
 
Join Date: Oct 2012
Posts: 388
Reputation: 44
Default Re: Ajuda com Cores

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.
HardWar is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Ajuda]Cores Lucas_HenryK Português/Portuguese 8 06/01/2012 02:35 PM
[Ajuda] Cores no gta.... sergio_xd Português/Portuguese 14 14/11/2011 04:56 PM
[AJUDA] Cores [Dk]TuReTOo Português/Portuguese 5 15/05/2011 01:22 AM
[AJUDA]Cores SA:MP 0.3c Jhones Português/Portuguese 19 03/05/2011 12:33 AM
[AJUDA]Cores 0.3c Jhones Português/Portuguese 2 03/04/2011 07:27 AM


All times are GMT. The time now is 09:12 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.