Alexandru Alex
Membru-
Posts
56 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Everything posted by Alexandru Alex
-
gata
-
Nu mai bine vorbim discord?
-
nu este
-
Mai pe scurt, am facut un sistem de parkour si gen cand pic in apa sa ma teleporteze la aceleasi coordonate, faza e ca nu mere
-
degeaba..
-
if(IsPlayerUsingSwimAnim(playerid)) return SetPlayerPos(playerid, 466.9015,-2175.7107,43.5915); Nu inteleg, nu ma teleporteaza in acea locatie cand intru in apa.. Care i faza? Multumesc anticipat
-
Eroare in SA-MP dedicated server
Alexandru Alex replied to Alexandru Alex's question in Ajutor Scripting
nu arata -
Eroare in SA-MP dedicated server
Alexandru Alex replied to Alexandru Alex's question in Ajutor Scripting
new DynamicFactions[15][Factions], FactionSkin[15][10]; -
Mai am si alte erori pe langa
-
am facut asta, acum ma ajuta VLM pe dis
-
am incercat nu merge imi da multeeeeee erori
-
C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(3707) : error 017: undefined symbol "plyerid" C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(3711) : error 017: undefined symbol "plyerid" C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(3715) : error 017: undefined symbol "plyerid" C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(3719) : error 017: undefined symbol "plyerid" C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(3723) : error 017: undefined symbol "plyerid" C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(3939) : error 017: undefined symbol "SendQuest" C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(8348) : warning 202: number of arguments does not match definition C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(8348) : warning 202: number of arguments does not match definition C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(8348) : warning 202: number of arguments does not match definition C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(8417) : error 017: undefined symbol "GetPlayerCheckpointPos" C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(8422) : error 001: expected token: ";", but found "-identifier-"
-
Am incercat imi da mai multe erori
-
C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(3707) : error 014: invalid statement; not in switch C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(3707) : warning 215: expression has no effect C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(3707) : error 001: expected token: ";", but found ":" C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(3707) : error 029: invalid expression, assumed zero C:\Users\flowg\Desktop\GM\gamemodes\GM.pwn(3707) : fatal error 107: too many error messages on one line
-
function OnPlayerEnterRaceCheckpoint(playerid) { if(!PlayerToPoint(50, playerid, LastPos[playerid][0], LastPos[playerid][1], LastPos[playerid][2]) && !playerVariables[playerid][pAdmin]) return AdmBot(playerid, "possible checkpoint-teleport #2"); switch(CP[playerid]) { // exam case 100: { SetPlayerRaceCheckpointEx(playerid, 0,-136.4739, 1190.3674, 19.2818 , -125.5403, 1195.6617, 19.2818, 3.0); CP[playerid]++; } case 101: { SetPlayerRaceCheckpointEx(playerid,0, -125.5403, 1195.6617, 19.2818, -118.3623, 1162.6816, 19.2818, 3.0); CP[playerid]++; } case 102: { SetPlayerRaceCheckpointEx(playerid,0, -118.3623, 1162.6816, 19.2818, -173.6527, 1151.0865, 19.2818, 3.0); CP[playerid]++; } case 103: { SetPlayerRaceCheckpointEx(playerid,0, -173.6527, 1151.0865, 19.2818, -186.8403, 1168.0807, 19.1839, 3.0); CP[playerid]++; } case 104: { SetPlayerRaceCheckpointEx(playerid,0, -186.8403, 1168.0807, 19.1839, -184.9106, 1193.8254, 19.1839, 3.0); CP[playerid]++; } case 105: { SetPlayerRaceCheckpointEx(playerid,0, -184.9106, 1193.8254, 19.1839, -154.6323, 1196.2001, 19.1839, 3.0); CP[playerid]++; } case 106: { SetPlayerRaceCheckpointEx(playerid,0, -154.6323, 1196.2001, 19.1839, -141.2546, 1195.6125, 19.1839, 3.0); CP[playerid]++; } case 107: { SetPlayerRaceCheckpointEx(playerid,1, -141.2546, 1195.6125, 19.1839,0.0,0.0,0.0, 3.0); CP[playerid]++; } case 108: { if(!IsPlayerInVehicle(playerid, examcar[playerid])) return SCM(playerid, COLOR_LIGHTGREEN3, "You aren't in the examen car."); playerVariables[playerid][pCarLic] = 1; playerVariables[playerid][pCarLicT] = 100; InExamen[playerid] = 0; DisablePlayerRaceCheckpointEx(playerid); CP[playerid] = 0; DisableRemoteVehicleCollisions(playerid, 0); DestroyVehicle(examcar[playerid]); examcar[playerid] = -1; UpdateVar(playerid, "CarLic", 1); UpdateVar(playerid, "CarLicT", 100); SCM(playerid, COLOR_JOB, "(Info): {FFFFFF}You earned your driving license. This is available for 100 hours."); } // pilot case 159: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1337.7225,-2458.1738,52.1955,1068.9011,-1998.5757,110.3633, 5.0); } case 160: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1068.9011,-1998.5757,110.3633,1248.2017,-1089.9178,126.1693, 5.0); } case 161: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1248.2017,-1089.9178,126.1693,1262.6804,-359.7021,125.8077, 5.0); } case 162: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1262.6804,-359.7021,125.8077,1354.6277,185.5372,126.3102, 5.0); } case 163: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1354.6277,185.5372,126.3102,1469.2338,856.8419,73.3954, 5.0); } case 164: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1469.2338,856.8419,73.3954,1477.5388,1444.2805,11.7513, 5.0); } case 165: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1477.5388,1444.2805,11.7513,1389.3634,1615.9071,11.7527, 5.0); } case 166: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1389.3634,1615.9071,11.7527,1381.7755,1238.9287,35.4809, 5.0); } case 167: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1381.7755,1238.9287,35.4809,1350.0398,829.1030,91.8478, 5.0); } case 168: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1350.0398,829.1030,91.8478,1251.3011,235.3953,113.0084, 5.0); } case 169: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1251.3011,235.3953,113.0084,1161.8298,-439.5165,142.3422, 5.0); } case 170: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1161.8298,-439.5165,142.3422,1033.0001,-918.2105,146.7412, 5.0); } case 171: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1033.0001,-918.2105,146.7412,817.0712,-1571.2627,105.0100, 5.0); } case 172: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 817.0712,-1571.2627,105.0100,854.5660,-2107.3997,73.8536, 5.0); } case 173: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 854.5660,-2107.3997,73.8536,1156.9110,-2464.0076,51.5708, 5.0); } case 174: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 4, 1156.9110,-2464.0076,51.5708,1691.7114,-2592.8950,14.4685, 5.0); } case 175: { CP[playerid] ++; SetPlayerRaceCheckpointEx(playerid, 3,1691.7114,-2592.8950,14.4685,0.0,0.0,0.0, 5.0); } case 176: { if(!IsPlayerInVehicle(playerid, JobVehicle[playerid])) return sendJob(playerid, "Nu esti cu vehiculul de la job."); DisablePlayerRaceCheckpointEx(playerid); CP[playerid] = 0; PlayerTextDrawHide(playerid, JobTD); DisableRemoteVehicleCollisions(playerid, false); playerVariables[playerid][pPilotSkill] ++; UpdateVar(playerid, "PilotSkill", playerVariables[playerid][pPilotSkill]); GiveJobSalary(playerid); JobWorking[playerid] = 0; if(JobVehicle[playerid] != 0) { DestroyVehicle(JobVehicle[playerid]); JobVehicle[playerid] = 0; } } // bus case 179: { SetPlayerRaceCheckpointEx(playerid, 0, 1941.3706,-2169.2083,13.4851,1964.6262,-1899.2827,13.4838,4.0); CP[playerid]++; } case 180: { SetPlayerRaceCheckpointEx(playerid, 0, 1964.6262,-1899.2827,13.4838,1921.6910,-1749.1346,13.4828,4.0); CP[playerid]++; } case 181: { SetPlayerRaceCheckpointEx(playerid, 0, 1921.6910,-1749.1346,13.4828,1819.4100,-1814.2385,13.5056,4.0); CP[playerid]++; } case 182: { SetPlayerRaceCheckpointEx(playerid, 0, 1819.4100,-1814.2385,13.5056,1692.2909,-1764.9092,13.4875,4.0); CP[playerid]++; } case 183: { SetPlayerRaceCheckpointEx(playerid, 0, 1692.2909,-1764.9092,13.4875,1395.2542,-1729.2012,13.4901,4.0); CP[playerid]++; } case 184: { SetPlayerRaceCheckpointEx(playerid, 0, 1395.2542,-1729.2012,13.4901,1315.4188,-1631.5197,13.4827,4.0); CP[playerid]++; } case 185: { SetPlayerRaceCheckpointEx(playerid, 0, 1315.4188,-1631.5197,13.4827,1325.5859,-1392.4742,13.4741,4.0); CP[playerid]++; } case 186: { SetPlayerRaceCheckpointEx(playerid, 0, 1325.5859,-1392.4742,13.4741,1209.0767,-1324.8274,13.5002,4.0); CP[playerid]++; } case 187: { SetPlayerRaceCheckpointEx(playerid, 0, 1209.0767,-1324.8274,13.5002,1082.8730,-1277.8145,13.5019,4.0); CP[playerid]++; } case 188: { SetPlayerRaceCheckpointEx(playerid, 0, 1082.8730,-1277.8145,13.5019,966.0933,-1218.3807,16.8770,4.0); CP[playerid]++; } case 189: { SetPlayerRaceCheckpointEx(playerid, 0, 966.0933,-1218.3807,16.8770,818.9665,-1137.8669,23.8506,4.0); CP[playerid]++; } case 190: { SetPlayerRaceCheckpointEx(playerid, 0, 818.9665,-1137.8669,23.8506,794.1818,-1301.3213,13.4795,4.0); CP[playerid]++; } case 191: { SetPlayerRaceCheckpointEx(playerid, 0, 794.1818,-1301.3213,13.4795,678.5087,-1392.8485,13.5081,4.0); CP[playerid]++; } case 192: { SetPlayerRaceCheckpointEx(playerid, 0, 678.5087,-1392.8485,13.5081,380.8662,-1492.7212,32.2020,4.0); CP[playerid]++; } case 193: { SetPlayerRaceCheckpointEx(playerid, 0, 380.8662,-1492.7212,32.2020,258.5574,-1537.6969,32.3608,4.0); CP[playerid]++; } case 194: { SetPlayerRaceCheckpointEx(playerid, 0, 258.5574,-1537.6969,32.3608,484.7990,-1357.7792,17.9893,4.0); CP[playerid]++; } case 195: { SetPlayerRaceCheckpointEx(playerid, 0, 484.7990,-1357.7792,17.9893,588.3983,-1232.8560,17.8009,4.0); CP[playerid]++; } case 196: { SetPlayerRaceCheckpointEx(playerid, 0, 588.3983,-1232.8560,17.8009,774.5882,-1058.5305,24.5938,4.0); CP[playerid]++; } case 197: { SetPlayerRaceCheckpointEx(playerid, 0, 774.5882,-1058.5305,24.5938,1209.5120,-948.5093,42.8005,4.0); CP[playerid]++; } case 198: { SetPlayerRaceCheckpointEx(playerid, 0, 1209.5120,-948.5093,42.8005,1566.5400,-997.7548,45.7116,4.0); CP[playerid]++; } case 199: { SetPlayerRaceCheckpointEx(playerid, 1, 1958.2472,-1999.3572,13.4949,0.0,0.0,0.0,4.0); CP[playerid]++; } case 200: { if(!IsPlayerInVehicle(playerid, JobVehicle[playerid])) return sendJob(playerid, "Nu esti cu vehiculul de la job."); DisablePlayerRaceCheckpointEx(playerid); CP[playerid] = 0; PlayerTextDrawHide(playerid, JobTD); playerVariables[playerid][pBusSkill] ++; UpdateVar(playerid, "BusSkill", playerVariables[playerid][pBusSkill]); GiveJobSalary(playerid); JobWorking[playerid] = 0; if(JobVehicle[playerid] != 0) { DestroyVehicle(JobVehicle[playerid]); JobVehicle[playerid] = 0; } SCM(playerid, -1, "Felicitari ai terminat toate checkpoint-urile."); } } //quest case 301: { SetPlayerRaceCheckpointEx(plyerid, 0, 744.6379,-556.1034,18.0129, 981.4542,-1814.0586,13.9752, 5.0 ); CP[playerid]++; } case 302: { SetPlayerRaceCheckpointEx(plyerid, 0, 981.4542,-1814.0586,13.9752, 981.4542,-1814.0586,13.9752, 5.0); CP[playerid]++; } case 303: { SetPlayerRaceCheckpointEx(plyerid, 0, 981.4542,-1814.0586,13.9752, 167.8773,-1768.6434,4.4820, 5.0); CP[playerid]++; } case 304: { SetPlayerRaceCheckpointEx(plyerid, 0, 167.8773,-1768.6434,4.4820, 1981.6117,-1682.4552,17.0533, 5.0); CP[playerid]++; } case 305: { SetPlayerRaceCheckpointEx(plyerid, 0, 1981.6117,-1682.4552,17.0533, 2208.2031,-1100.8151,31.5547, 5.0); CP[playerid]++; } return 1; }
-
Tin sa mentionez ca eroarea e la 301: {
-
: error 014: invalid statement; not in switch : warning 215: expression has no effect : error 001: expected token: ";", but found ":" : error 029: invalid expression, assumed zero : fatal error 107: too many error messages on one line case 301: { SetPlayerRaceCheckpointEx(plyerid, 0, 744.6379,-556.1034,18.0129, 981.4542,-1814.0586,13.9752, 5.0 ); CP[playerid]++; } case 302: { SetPlayerRaceCheckpointEx(plyerid, 0, 981.4542,-1814.0586,13.9752, 981.4542,-1814.0586,13.9752, 5.0); CP[playerid]++; } case 303: { SetPlayerRaceCheckpointEx(plyerid, 0, 981.4542,-1814.0586,13.9752, 167.8773,-1768.6434,4.4820, 5.0); CP[playerid]++; } case 304: { SetPlayerRaceCheckpointEx(plyerid, 0, 167.8773,-1768.6434,4.4820, 1981.6117,-1682.4552,17.0533, 5.0); CP[playerid]++; } case 305: { SetPlayerRaceCheckpointEx(plyerid, 0, 1981.6117,-1682.4552,17.0533, 2208.2031,-1100.8151,31.5547, 5.0); CP[playerid]++; }
-
case 301: { SetPlayerRaceCheckpointEx(plyerid, 0, 744.6379,-556.1034,18.0129, 981.4542,-1814.0586,13.9752, 5.0 ); CP[playerid]++; } case 302: { SetPlayerRaceCheckpointEx(plyerid, 0, 981.4542,-1814.0586,13.9752, 981.4542,-1814.0586,13.9752, 5.0); CP[playerid]++; } case 203: { SetPlayerRaceCheckpointEx(plyerid, 0, 981.4542,-1814.0586,13.9752, 167.8773,-1768.6434,4.4820, 5.0); CP[playerid]++; } case 304: { SetPlayerRaceCheckpointEx(plyerid, 0, 167.8773,-1768.6434,4.4820, 1981.6117,-1682.4552,17.0533, 5.0); CP[playerid]++; } case 305: { SetPlayerRaceCheckpointEx(plyerid, 0, 1981.6117,-1682.4552,17.0533, 2208.2031,-1100.8151,31.5547, 5.0); CP[playerid]++; } Erorile: : error 014: invalid statement; not in switch : warning 215: expression has no effect : error 001: expected token: ";", but found ":" : fatal error 107: too many error messages on one line Care e faza?
-
[debug] Run time error 4: "Array index out of bounds" [debug] Attempted to read/write array element at index 15 in array of size 15 [debug] AMX backtrace: [debug] #0 0007f538 in public LoadDynamicFactions () in GM.amx function LoadDynamicFactions() { factionss = cache_num_rows(); new string[300]; for(new i = 1; i <= factionss; i++){ new f = i - 1; DynamicFactions[i][fID] = cache_get_field_content_int(f, "ID"); cache_get_field_content(f, "Name", DynamicFactions[i][fName], SQL, 64); DynamicFactions[i][fcX] = cache_get_field_content_float(f, "X"); DynamicFactions[i][fcY] = cache_get_field_content_float(f, "Y"); DynamicFactions[i][fcZ] = cache_get_field_content_float(f, "Z"); DynamicFactions[i][fceX] = cache_get_field_content_float(f, "eX"); DynamicFactions[i][fceY] = cache_get_field_content_float(f, "eY"); DynamicFactions[i][fceZ] = cache_get_field_content_float(f, "eZ"); DynamicFactions[i][fSafePos][0] = cache_get_field_content_float(f, "SafePos1"); DynamicFactions[i][fSafePos][1] = cache_get_field_content_float(f, "SafePos2"); DynamicFactions[i][fSafePos][2] = cache_get_field_content_float(f, "SafePos3"); DynamicFactions[i][fMats] = cache_get_field_content_int(f, "Mats"); DynamicFactions[i][fDrugs] = cache_get_field_content_int(f, "Drugs"); DynamicFactions[i][fInterior] = cache_get_field_content_int(f, "Interior"); DynamicFactions[i][fVirtual] = cache_get_field_content_int(f, "Virtual"); DynamicFactions[i][fMapIcon] = cache_get_field_content_int(f, "MapIcon"); DynamicFactions[i][fLocked] = cache_get_field_content_int(f, "Locked"); DynamicFactions[i][fBank] = cache_get_field_content_int(f, "Bank"); DynamicFactions[i][fPickupIDD] = cache_get_field_content_int(f, "PickupID"); cache_get_field_content(f, "Anunt", DynamicFactions[i][fAnn], SQL, 128); DynamicFactions[i][fMaxMembers] = cache_get_field_content_int(f, "MaxMembers"); DynamicFactions[i][fMinLevel] = cache_get_field_content_int(f, "MinLevel"); DynamicFactions[i][fApplication] = cache_get_field_content_int(f, "Application"); cache_get_field_content(f, "Rank1", DynamicFactions[i][fRankName1], SQL, 64); cache_get_field_content(f, "Rank2", DynamicFactions[i][fRankName2], SQL, 64); cache_get_field_content(f, "Rank3", DynamicFactions[i][fRankName3], SQL, 64); cache_get_field_content(f, "Rank4", DynamicFactions[i][fRankName4], SQL, 64); cache_get_field_content(f, "Rank5", DynamicFactions[i][fRankName5], SQL, 64); cache_get_field_content(f, "Rank6", DynamicFactions[i][fRankName6], SQL, 64); cache_get_field_content(f, "Rank7", DynamicFactions[i][fRankName7], SQL, 64); for(new c; c < 10; c++) { new s[10]; format(s, sizeof(s),"Skin%d",c); FactionSkin[i][c] = cache_get_field_content_int(f, s); } switch(DynamicFactions[i][fLocked]) { case 0: format(string, sizeof(string), "{008080}Faction:{FFFFFF} %d\n{008080}Name:{FFFFFF} %s\n{008080}HQ Status:{FFFFFF} (unlocked)",i, DynamicFactions[i][fName]); case 1: format(string, sizeof(string), "{008080}Faction:{FFFFFF} %d\n{008080}Name:{FFFFFF} %s\n{008080}HQ Status:{FFFFFF} (locked)",i, DynamicFactions[i][fName]); } DynamicFactions[i][fPickupID] = CreateDynamicPickup(DynamicFactions[i][fPickupIDD], 23, DynamicFactions[i][fceX], DynamicFactions[i][fceY], DynamicFactions[i][fceZ], 0, -1, -1, 10); DynamicFactions[i][fLabelID] = CreateDynamic3DTextLabel(string, -1, DynamicFactions[i][fceX], DynamicFactions[i][fceY], DynamicFactions[i][fceZ], 100, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 25.0); if(DynamicFactions[i][fMapIcon] != 0) CreateDynamicMapIcon(DynamicFactions[i][fceX],DynamicFactions[i][fceY],DynamicFactions[i][fceZ],DynamicFactions[i][fMapIcon],0,-1,-1,-1,750.0); //Bank format(string, sizeof(string), "%s\nGroup Safe", DynamicFactions[i][fName]); DynamicFactions[i][fSafePickupID] = CreateDynamicPickup(1274, 23, DynamicFactions[i][fSafePos][0], DynamicFactions[i][fSafePos][1], DynamicFactions[i][fSafePos][2], DynamicFactions[i][fVirtual], DynamicFactions[i][fInterior], -1, 50); DynamicFactions[i][fSafeLabelID] = CreateDynamic3DTextLabel(string, COLOR_YELLOW, DynamicFactions[i][fSafePos][0], DynamicFactions[i][fSafePos][1], DynamicFactions[i][fSafePos][2], 100, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, DynamicFactions[i][fVirtual], DynamicFactions[i][fInterior], -1, 20.0); } printf("Loading %d groups.", factionss); return 1; }
-
Problema compilare[Rezolvat]
Alexandru Alex replied to Alexandru Alex's question in Ajutor Scripting
Am rezolvat aia, dar pot cumpara chiar daca nu am black points sau pp, ten imi scrie: Nu ai suficente premium points dar daca ma uit in /opencrate mi-o arata -
Cand dau sa cumpar crate cu bp imi zice ca nu ai suficente bp-uri iar cand ma uit in /opencrate imi arata ca e acolo: case DIALOG_BUYCRATES: { if(!response) return true; format(gString, sizeof(gString), "Payment\tPrice\nBlack-Points\t{E26AF2}%d\nPremium Points\t{EEEE3F}%d", CratePrice[AlegeCrates[playerid]][0], CratePrice[AlegeCrates[playerid]][1]); ShowPlayerDialogEx(playerid, DIALOG_BUYCRATES1, DIALOG_STYLE_TABLIST_HEADERS, "Buy Crate", gString, "Da", "nu"); } case DIALOG_BUYCRATES1: { if(!response) return true; new x = AlegeCrates[playerid]; playerVariables[playerid][pCrates][x] ++; save_crates(playerid); switch(listitem) { case 0: { if(playerVariables[playerid][pBlackPoints] < CratePrice[x][0]) return SCM(playerid, -1, "Nu ai suficente puncte Black"); playerVariables[playerid][pBlackPoints] -= CratePrice[x][0]; format(gString, sizeof(gString), "(Crate Systems){FFFFFF} Ti-ai cumparat o cutie (%s) pentru {E26AF2}%d Black Points{FFFFFF}! Total cutii rare: %d [%d total - general]", CrateName[x], CratePrice[x][1], playerVariables[playerid][pCrates][x], totalcrates(playerid)+1); Update(playerid, pBlackPoints); } case 1: { if(playerVariables[playerid][pPremiumPoints] < CratePrice[x][1]) return SCM(playerid, -1, "Nu ai suficiente puncte Premium."); playerVariables[playerid][pPremiumPoints] -= CratePrice[x][1]; format(gString, sizeof(gString), "(Crate Systems){FFFFFF} Ti-ai cumparat o cutie (%s) pentru {EEEE3F}%d PP{FFFFFF}! Total cutii rare: %d [%d total - general]", CrateName[x], CratePrice[x][1], playerVariables[playerid][pCrates][x], totalcrates(playerid)+1); Update(playerid, pPremiumPoints); } } SCM(playerid, -1, "Pentru a deschide o cuite, foloseste /opencrate."); }
-
Problema compilare[Rezolvat]
Alexandru Alex replied to Alexandru Alex's question in Ajutor Scripting
format(gString, sizeof(gString), "(Crate Systems){FFFFFF} Ti-ai cumparat o cutie (%s) pentru {E26AF2}%d Black Points{FFFFFF}! Total cutii rare: %d [%d total - general]", CrateName[x], CratePrice[x][1], playerVariables[playerid][pCrates][x]+1, totalcrates(playerid)+1); Update(playerid, pBlackPoints); -
Problema compilare[Rezolvat]
Alexandru Alex replied to Alexandru Alex's question in Ajutor Scripting
e sub -
Problema compilare[Rezolvat]
Alexandru Alex replied to Alexandru Alex's question in Ajutor Scripting
format(gString, sizeof(gString), "(Crate Systems){FFFFFF} Ti-ai cumparat o cutie (%s) pentru {E26AF2}%d Black Points{FFFFFF}! Total cutii rare: %d [%d total - general]", CrateName[x], CratePrice[x][1], playerVariables[playerid][pCrates][x]+1, totalcrates(playerid)+1); Update(playerid, pBlackPoints);