Jump to content

Jupiter

Membru
  • Posts

    14
  • Joined

  • Last visited

Everything posted by Jupiter

  1. Problema intalnita (descriere): pai nu imi apar textele pe la case,bizuri,factiuni Ero(area / rile) / warning-(ul / urile): ---- Liniile de cod / sursa / script-ul(obligatoriu): if(HouseInfo[h][hOwned] == 0) { format(string, sizeof(string), "{FFFFFF}The State n {FFFFFF}Info: {09AFF7}%s n {FFFFFF}Cost: {09AFF7}%d$ n {FFFFFF}Level: {09AFF7}%d n {FFFFFF}Scrie {09AFF7}/buyhouse.",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]); HouseLabel[h] = Create3DTextLabel(string ,0x006400FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15, 0, 1); } if(HouseInfo[h][hOwned] == 1) if(HouseInfo[h][hRentabil] == 0) { format(string, sizeof(string), "{FFFFFF}Info: {09AFF7}%s n {FFFFFF}Proprietar: {09AFF7}%s n {FFFFFF}Cost: {09AFF7}%d$ n {FFFFFF}Level: {09AFF7}%d",HouseInfo[h][hDiscription],HouseInfo[h][hOwner],HouseInfo[h][hValue],HouseInfo[h][hLevel]); HouseLabel[h] = Create3DTextLabel(string ,0x006400FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15, 0, 1); } else { format(string, sizeof(string), "{FFFFFF}Info: {09AFF7}%s n {FFFFFF}Proprietar: {09AFF7}%s n {FFFFFF}Cost: {09AFF7}%d$ n {FFFFFF}Level: {09AFF7}%d n {FFFFFF}Rent: {09AFF7}$%d n {FFFFFF}Scrie {09AFF7}/rentroom ",HouseInfo[h][hDiscription],HouseInfo[h][hOwner],HouseInfo[h][hValue],HouseInfo[h][hLevel],HouseInfo[h][hRent]); HouseLabel[h] = Create3DTextLabel(string ,0x00B3FFC8,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,15, 0, 1); } } for(new h = 0; h < sizeof(BizzInfo); h++) { if(BizzInfo[h][bOwned] == 1) { format(string, sizeof(string), "{04E2FB}%sn Proprietar: %sn Extortion by : %sn Entrance Fee : %d$n Level : %dn ",BizzInfo[h][bMessage],BizzInfo[h][bOwner],BizzInfo[h][bExtortion],BizzInfo[h][bEntranceCost],BizzInfo[h][bLevel]); BizzLabel[h] = Create3DTextLabel(string,0x8361FFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1,15,0,1); BizzPickup[h] = CreateDynamicPickup(1314, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]); } else { format(string, sizeof(string), "[SALE]n$ %d",BizzInfo[h][bPrice]); BizzLabel[h] = Create3DTextLabel(string,0x8361FFFF,BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]+1,15,0,1); BizzPickup[h] = CreateDynamicPickup(1272, 1, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ]); } } for(new h = 0; h < sizeof(SBizzInfo); h++) { if(SBizzInfo[h][sbOwned] == 1) { format(string, sizeof(string), "{04E2FB}%sn Proprietar: %sn Extortion by : %sn Entrance Fee: %d$n Level : %dn ",SBizzInfo[h][sbMessage],SBizzInfo[h][sbOwner],SBizzInfo[h][sbExtortion],SBizzInfo[h][sbEntranceCost],SBizzInfo[h][sbLevel]); SBizzLabel[h] = Create3DTextLabel(string,0x8361FFFF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]+1,15,0,1); SBizzPickup[h] = CreateDynamicPickup(1272, 1, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]); } else { format(string, sizeof(string), "[SALE]n$ %d",SBizzInfo[h][sbPrice]); SBizzLabel[h] = Create3DTextLabel(string,0x8361FFFF,SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]+1,15,0,1); SBizzPickup[h] = CreateDynamicPickup(1272, 1, SBizzInfo[h][sbEntranceX], SBizzInfo[h][sbEntranceY], SBizzInfo[h][sbEntranceZ]); } } Imagini / Video (optional): Ati incercat sa rezolvati singur?: Da
  2. if (strcmp(cmd, "/check", true) == 0) { if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /check [playerid/PartOfName]"); return 1; } //giveplayerid = strval(tmp); giveplayerid = ReturnUser(tmp); if(IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { ShowStats(playerid,giveplayerid); } } else { SendClientMessage(playerid, COLOR_GRAD1, " No Such Player"); } } else { SendClientMessage(playerid, COLOR_GRAD1, " You are not an admin"); } } return 1; } if(strcmp(cmd, "/quitjob", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pJob] > 0) { if(PlayerInfo[playerid][pDonateRank] > 0) { if(PlayerInfo[playerid][pContractTime] >= 0) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You already forfilled your 1 hour Contract, and quited your Job."); PlayerInfo[playerid][pJob] = 0; PlayerInfo[playerid][pChar] = 0; PlayerInfo[playerid][pContractTime] = 0; } else { new chours = 2 - PlayerInfo[playerid][pContractTime]; format(string, sizeof(string), "* You still have %d hours left to forfill and end your Contract.", chours / 2); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } } else { if(PlayerInfo[playerid][pContractTime] >= 5) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "* You already forfilled your 1 hour Contract, and quited your Job."); PlayerInfo[playerid][pJob] = 0; PlayerInfo[playerid][pChar] = 0; PlayerInfo[playerid][pContractTime] = 0; } else { new chours = 5 - PlayerInfo[playerid][pContractTime]; format(string, sizeof(string), "* You still have %d hours left to forfill and end your Contract.", chours / 2); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } } } else { SendClientMessage(playerid, COLOR_GREY, " You don't even have a Job !"); } }//not connected return 1; }
  3. Pai nush Cum sa fac ,mă poți ajuta
  4. E de la sistemu de salvare tuning,deci eu am un sultan il tunez ii dau v park,dupa ma gandesc sa fac un infernus fara sa scot tuningul si de asta de warning
  5. E de la tunica dar nush ce sa îi fac
  6. care mappig? si ce pot face?
  7. Problema intalnita (descriere): Warning pe srv Ero(area / rile) / warning-(ul / urile): Warning(opcode 0x6E7): Exception 0xC0000005 at 0x7F0C37 Liniile de cod / sursa / script-ul(obligatoriu): nush gamemode Imagini / Video (optional): --- Ati incercat sa rezolvati singur?: da
  8. Problema intalnita (descriere): AM VRUT SA ADAUG /ACREATECAR Ero(area / rile) / warning-(ul / urile):undefined symbol "DIALOGIDSETOWNER" Liniile de cod / sursa / script-ul(obligatoriu): if(strcmp(cmd, "/acreatecar", true) == 0) { if(PlayerInfo[playerid][pAdmin] == 1339) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /acreatecar [carid] [culoare1] [culoare2]"); return 1; } new car; car = strval(tmp); if(car < 400 || car > 611) { SendClientMessage(playerid, COLOR_WHITE, " Vehicle Number can't be below 400 or above 611 !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /acreatecar [carid] [culoare1] [culoare2]"); return 1; } new color1; color1 = strval(tmp); if(color1 < 0 || color1 > 252) { SendClientMessage(playerid, COLOR_WHITE, " Color Number can't be below 0 or above 252 !"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /acreatecar [carid] [culoare1] [culoare2]"); return 1; } new color2; color2 = strval(tmp); if(color2 < 0 || color2 > 252) { SendClientMessage(playerid, COLOR_WHITE, " Color Number can't be below 0 or above 252 !"); return 1; } new Float:X,Float:Y,Float:Z; GetPlayerPos(playerid, X,Y,Z); new thiscar = CreateVehicle(car,X,Y,Z,1,color1,color2,99999999); CarInfo[thiscar][cOwned] = 0; CarInfo[thiscar][cModel] = car; CarInfo[thiscar][cColorOne] = color1; CarInfo[thiscar][cColorTwo] = color2; CarInfo[thiscar][cLocationx] = X; CarInfo[thiscar][cLocationy] = Y; CarInfo[thiscar][cLocationz] = Z; CarInfo[thiscar][cAngle] = 1; PutPlayerInVehicle(playerid,thiscar,0); strmid(CarInfo[vehid][cOwner], "No-one", 0, strlen("No-one"), 999); format(CarInfo[thiscar][cDescription], 32, "%s",vehName[GetVehicleModel(GetPlayerVehicleID(playerid))-400]); format(string, sizeof(string), "The car %s [%d] has been created",CarInfo[thiscar][cDescription],thiscar); SendClientMessage(playerid, COLOR_BLUE, string); ShowPlayerDialog(playerid,DIALOGIDSETOWNER,DIALOG_STYLE_INPUT,"{E0941B}Vehicle owner","Write playerid/PartOfName nto make owner this car:","Enter","Close"); } else { SendClientMessage(playerid, COLOR_GRAD1, " you are not authorized to use that command!"); return 1; } } Imagini / Video (optional): -- Ati incercat sa rezolvati singur?: DAAAAAA,cand adaug define si erroarea imi da mai multe
  9. (21162) : warning 225: unreachable code (21168) : warning 225: unreachable code
  10. if(CarInfo[idcar][cOwned]==1)
  11. Problema intalnita (descriere): pai imi nush de ce imi da asa Ero(area / rile) / warning-(ul / urile): (21162) : warning 225: unreachable code Liniile de cod / sursa / script-ul(obligatoriu): else if(strcmp(x_nr,"buy",true) == 0) { if(IsAnOwnableCar(idcar)) { if(PlayerInfo[playerid][pPcarkey] == -1) { } else if(PlayerInfo[playerid][pPcarkey2] == -1) { } else if(PlayerInfo[playerid][pPcarkey3] == -1) { } else { SendClientMessage(playerid, COLOR_GREY, "* Detii 3 masini!"); return 1; } if(CarInfo[idcar][cOwned]==1) else { SendClientMessage(playerid, COLOR_GREY, "Someone already owns this car."); return 1; } Imagini / Video (optional):-- Ati incercat sa rezolvati singur?: Da
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.