- 0
Cum pun culori la masini in PPC_TRrucking
-
Similar Content
-
- 8 answers
- 415 views
-
ajutor conectare data de baze in gamemode ca nustiu care pun ca le pun pe amandoua si numi merge va las jos sa imi spuneti care ip trebuie
By pericz,
- 8 answers
- 2.210 views
-
- 1 reply
- 665 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.

Question
yonwtz
Am un server ce ruleaza cu gm de la PPC_Trucking si culorile de la masini sunt putine ma refer la cele din tunning si cele din /color1 /color2 am incercat sa pun comanda cu /carcolor <id> <id>
if(strcmp("/carcolor", cmdtext, true, 10)== 0) { if(IsPlayerInVehicle(playerid)) { new idx; new tmp[256]; tmp = strtok(cmdtext, idx); new tmp2[256]; tmp2 = strtok(cmdtext, idx); new color1 = strval(tmp); new color2 = strval(tmp2); if(!strlen(tmp)) return SendClientMessage(playerid, 0xEFEFEFFF, "USAGE: /carcolor [color1] [color2]"); if(!strlen(tmp2)) return SendClientMessage(playerid, 0xEFEFEFFF, "USAGE: /carcolor [color1] [color2]"); ChangeVehicleColor(GetPlayerVehicleID(playerid), color1, color2); } else { SendClientMessage(playerid, 0x0091FFFF, "You must be in a vehicle to use this command !"); } return 1; }dar nu merge am incercat sa umblu si la PPC_Defines dar culorile au un format pe care nu il cunosc// This array holds the vehicle-colors new AVehicleColors[][10] = { {"{000000}"}, {"{f5f5f5}"}, {"{2a77a1}"}, {"{840510}"}, {"{253739}"}, // Colors 0, 1, 2, 3, 4 {"{87446f}"}, {"{d68f11}"}, {"{4c75b7}"}, {"{bdbdc5}"}, {"{5e7072}"}, // Colors 5, 6, 7, 8, 9 {"{46597a}"}, {"{66697a}"}, {"{5e7e8d}"}, {"{58595b}"}, {"{d6dbd5}"}, // Colors 10, 11, 12, 13, 14 {"{9ca1a4}"}, {"{34603f}"}, {"{740e1b}"}, {"{7c0a2b}"}, {"{a09d94}"}, // Colors 15, 16, 17, 18, 19 {"{3b4e79}"}, {"{732e40}"}, {"{691e3c}"}, {"{96918d}"}, {"{515459}"}, // Colors 20, 21, 22, 23, 24 {"{3f3e46}"}, {"{a5a9a8}"}, {"{645c5a}"}, {"{3c4969}"}, {"{969591}"}, // Colors 25, 26, 27, 28, 29 {"{431f21}"}, {"{5f272a}"}, {"{8494ab}"}, {"{757a7d}"}, {"{646464}"}, // Colors 30, 31, 32, 33, 34 {"{5b5853}"}, {"{252527}"}, {"{2e3a36}"}, {"{93a398}"}, {"{6d7a8a}"}, // Colors 35, 36, 37, 38, 39 {"{28201e}"}, {"{6f6860}"}, {"{7c1c28}"}, {"{600a15}"}, {"{193828}"}, // Colors 40, 41, 42, 43, 44 {"{5c1b1f}"}, {"{9c9872}"}, {"{7a7561}"}, {"{989586}"}, {"{acb0b1}"}, // Colors 45, 46, 47, 48, 49 {"{848a88}"}, {"{305045}"}, {"{4e6368}"}, {"{162248}"}, {"{282f4c}"}, // Colors 50, 51, 52, 53, 54 {"{7e6257}"}, {"{9fa4aa}"}, {"{9c8d70}"}, {"{6e1821}"}, {"{4e6881}"}, // Colors 55, 56, 57, 58, 59 {"{9c9d98}"}, {"{907347}"}, {"{661d26}"}, {"{949c9f}"}, {"{a3a8a4}"}, // Colors 60, 61, 62, 63, 64 {"{8f8c47}"}, {"{331a1d}"}, {"{697a8a}"}, {"{aaad8e}"}, {"{ac988f}"}, // Colors 65, 66, 67, 68, 69 {"{86202e}"}, {"{708298}"}, {"{585953}"}, {"{9aa68e}"}, {"{601a1a}"}, // Colors 70, 71, 72, 73, 74 {"{21212d}"}, {"{a4a097}"}, {"{ab9d83}"}, {"{78222b}"}, {"{0e326e}"}, // Colors 75, 76, 77, 78, 79 {"{722a40}"}, {"{7a715f}"}, {"{741c28}"}, {"{1d2f31}"}, {"{4e322f}"}, // Colors 80, 81, 82, 83, 84 {"{7d1b44}"}, {"{2f5b20}"}, {"{395a83}"}, {"{6c2837}"}, {"{a7a28f}"}, // Colors 85, 86, 87, 88, 89 {"{b0b2b1}"}, {"{364155}"}, {"{6d6d6f}"}, {"{0f6a89}"}, {"{204b6d}"}, // Colors 90, 91, 92, 93, 94 {"{2c3d57}"}, {"{9a9e9d}"}, {"{6d8494}"}, {"{4d5c5f}"}, {"{ac9b7f}"}, // Colors 95, 96, 97, 98, 99 {"{416c8f}"}, {"{20253b}"}, {"{ac9277}"}, {"{124574}"}, {"{96816c}"}, // Colors 100, 101, 102, 103, 104 {"{64686b}"}, {"{115083}"}, {"{a19984}"}, {"{385694}"}, {"{525661}"}, // Colors 105, 106, 107, 108, 109 {"{7e6956}"}, {"{8d919a}"}, {"{596d86}"}, {"{483433}"}, {"{456250}"}, // Colors 110, 111, 112, 113, 114 {"{730a28}"}, {"{223556}"}, {"{630d1a}"}, {"{a3adc6}"}, {"{6a5854}"}, // Colors 115, 116, 117, 118, 119 {"{9b8a80}"}, {"{620b1c}"}, {"{5c5d5f}"}, {"{634428}"}, {"{741827}"}, // Colors 120, 121, 122, 123, 124 {"{1c376e}"}, {"{ed6aae}"}, // Colors 125, 126 };daca stiti vreo solutie va rog ajutati-ma
0 answers to this question
Recommended Posts