-
Posts
82 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Everything posted by AndrewTG01
-
Problema intalnita (descriere): Am creeat un job farmer si dupa ce plantez semintele , vreau sa intru cu combina sa culeg graul , dar nu dispare dupa ce intru in el. Ero(area / rile) / warning-(ul / urile):- Liniile de cod / sursa / script-ul(obligatoriu): if(CP[playerid]==20) { Seed1 = CreateDynamicObject(818, -132.26900, 50.45452, 5.22199, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -135.26228, 41.49727, 2.11704,5.0); CP[playerid] = 21; } else if(CP[playerid]==21) { Seed2 = CreateDynamicObject(818, -135.26228, 41.49727, 5.22199, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -137.90633, 34.21829, 2.11704,5.0); CP[playerid] = 22; } else if(CP[playerid]==22) { Seed3 = CreateDynamicObject(818, -137.90633, 34.21829, 5.22199, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -141.51561, 24.94322, 2.11704,5.0); CP[playerid] = 23; } else if(CP[playerid]==23) { Seed4 = CreateDynamicObject(818, -141.51561, 24.94322, 5.22199, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -145.13118, 15.64917, 2.11704,5.0); CP[playerid] = 24; } else if(CP[playerid]==24) { Seed5 = CreateDynamicObject(818, -145.13118, 15.64917, 5.22199, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -148.65193, 6.45007, 2.11704,5.0); CP[playerid] = 25; } else if(CP[playerid]==25) { Seed6 = CreateDynamicObject(818, -148.65193, 6.45007, 5.22199, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -158.71780, 10.34922, 2.11704,5.0); CP[playerid] = 26; } else if(CP[playerid]==26) { Seed7 = CreateDynamicObject(818, -158.71780, 10.34922, 5.22199, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -155.20543, 20.11099, 2.11704,5.0); CP[playerid] = 27; } else if(CP[playerid]==27) { Seed8 = CreateDynamicObject(818, -155.20543, 20.11099, 5.22199, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -149.03192, 37.49228, 2.11704,5.0); CP[playerid] = 28; } else if(CP[playerid]==28) { Seed9 = CreateDynamicObject(818, -149.03192, 37.49228, 5.22199, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -146.64072, 44.93688, 2.11704,5.0); CP[playerid] = 29; } else if(CP[playerid]==29) { Seed10 = CreateDynamicObject(818, -146.64072, 44.93688, 5.22199, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -143.33273, 53.92274, 2.11704,5.0); CP[playerid] = 30; } else if(CP[playerid]==30) { Seed11 = CreateDynamicObject(818, -143.33273, 53.92274, 5.22199, 0.0, 0.0, 0.0); SetPlayerCheckpoint(playerid, -140.12962, 62.76068, 2.11704,5.0); CP[playerid] = 31; } else if(CP[playerid]==31) { Seed12 = CreateDynamicObject(818, -140.12962, 62.76068, 5.22199, 0.0, 0.0, 0.0); SendClientMessage(playerid, COLOR_WHITE, "Plant finished, now go take a combine and collect the wheat."); CombineTake[playerid] = 1; CP[playerid] = 0; } if(newcar == Combine1 || newcar == Combine2 || newcar == Combine3 || newcar == Combine4) { if(CombineTake[playerid] == 1) { if(IsPlayerInRangeOfPoint(playerid, 1.0, -132.26900, 50.45452, 2.11704)) { DestroyDynamicObject(Seed1); } else if(IsPlayerInRangeOfPoint(playerid, 1.0, -135.26228, 41.49727, 2.11704)) { DestroyDynamicObject(Seed2); } else if(IsPlayerInRangeOfPoint(playerid, 1.0, -137.90633, 34.21829, 2.11704)) { DestroyDynamicObject(Seed3); } else if(IsPlayerInRangeOfPoint(playerid, 1.0, -141.51561, 24.94322, 2.11704)) { DestroyDynamicObject(Seed4); } else if(IsPlayerInRangeOfPoint(playerid, 1.0, -145.13118, 15.64917, 2.11704)) { DestroyDynamicObject(Seed5); } else if(IsPlayerInRangeOfPoint(playerid, 1.0, -148.65193, 6.45007, 2.11704)) { DestroyDynamicObject(Seed6); } else if(IsPlayerInRangeOfPoint(playerid, 1.0, -158.71780, 10.34922, 2.11704)) { DestroyDynamicObject(Seed7); } else if(IsPlayerInRangeOfPoint(playerid, 1.0, -155.20543, 20.11099, 2.11704)) { DestroyDynamicObject(Seed8); } else if(IsPlayerInRangeOfPoint(playerid, 1.0, -152.36862, 28.35958, 2.11704)) { DestroyDynamicObject(Seed9); } else if(IsPlayerInRangeOfPoint(playerid, 1.0, -149.03192, 37.49228, 2.11704)) { DestroyDynamicObject(Seed10); } else if(IsPlayerInRangeOfPoint(playerid, 1.0, -146.64072, 44.93688, 2.11704)) { DestroyDynamicObject(Seed11); } else if(IsPlayerInRangeOfPoint(playerid, 1.0, -143.33273, 53.92274, 2.11704)) { DestroyDynamicObject(Seed12); } } else { SendClientMessage(playerid,COLOR_GREY," You didn't planted seeds !"); RemovePlayerFromVehicle(playerid); } } Imagini / Video (optional): - Ati incercat sa rezolvati singur?: Da
-
T.C , multumesc mult Mister!
-
Problema intalnita (descriere): Am incercat sa pun acele lumini ca la masina de politie la infernus , obiectul se creeaza dar nu se ataseaza pe masina.Ero(area / rile) / warning-(ul / urile): -Liniile de cod / sursa / script-ul(obligatoriu): FBIINF1 = CreateVehicle(411, -1638.2784, 686.0067, -5.5617, -91.0000, 1, 1, 60000); new pdinf; pdinf = CreateDynamicObject(19620, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); AttachObjectToVehicle(pdinf, FBIINF1, 0.00252, -0.08381, 0.72762, 0.000000, 0.000000, 0.000000); //Object Model: 19620 | Imagini / Video (optional): - Ati incercat sa rezolvati singur?: Da
-
am rezolvat mersi oricum
-
pai asta e si treaba ca /open e /lock la casa si zice ca nu am cheie
-
http://imgur.com/a/dBwM6
-
http://imgur.com/a/RJkhN
-
cand dau /open acum scrie unknown command
-
pai da , am inlocuit si primesc erori for(new i = 0; i < sizeof(HouseInfo); i++) { if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]) || PlayerToPoint(3, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz]) || HouseInfo[i][hVW] == GetPlayerVirtualWorld(playerid)) { if(PlayerInfo[playerid][pPhousekey] == i) { if(PlayerInfo[playerid][pPhousekey] == i) { if(HouseInfo[i][hLock] == 1) { HouseInfo[i][hLock] = 0; GameTextForPlayer(playerid, "~w~Door ~g~Unlocked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } if(HouseInfo[i][hLock] == 0) { HouseInfo[i][hLock] = 1; GameTextForPlayer(playerid, "~w~Door ~r~Locked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } } else { GameTextForPlayer(playerid, "~r~You Dont Have A Key", 5000, 6); return 1; } } E:\servere\Real Gaming\gamemodes\gf.pwn(1684) : error 004: function "IsAnOwnableCar" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1756) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1760) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1772) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1776) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1780) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1784) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1788) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1792) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1796) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1800) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1812) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1816) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1828) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1832) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1836) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1840) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1844) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1856) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1868) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(1872) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(3634) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(3639) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(3649) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(3660) : error 004: function "PlayerToPoint" is not implemented E:\servere\Real Gaming\gamemodes\gf.pwn(3665) : error 004: function "PlayerToPoint" is not implemented da , primesc mesajul ala si am bizul/casa
-
cand adaug asta primesc erori
-
Problema intalnita (descriere):Am o problema, eu cand vreau sa dau /open la o casa sau biz spune ca nu am cheie. Ero(area / rile) / warning-(ul / urile):- Liniile de cod / sursa / script-ul(obligatoriu): if(strcmp(cmd, "/open", true) == 0) { if(IsPlayerConnected(playerid)) { for(new i = 0; i < sizeof(HouseInfo); i++) { if (PlayerToPoint(3, playerid,HouseInfo[i][hEntrancex], HouseInfo[i][hEntrancey], HouseInfo[i][hEntrancez]) || PlayerToPoint(3, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz]) || HouseInfo[i][hVW] == GetPlayerVirtualWorld(playerid)) { if(PlayerInfo[playerid][pPhousekey] == i) { if(HouseInfo[i][hLock] == 1) { HouseInfo[i][hLock] = 0; GameTextForPlayer(playerid, "~w~Door ~g~Unlocked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } if(HouseInfo[i][hLock] == 0) { HouseInfo[i][hLock] = 1; GameTextForPlayer(playerid, "~w~Door ~r~Locked", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } } else { GameTextForPlayer(playerid, "~r~You Dont Have A Key", 5000, 6); return 1; } } } for(new i = 0; i < sizeof(BizzInfo); i++) { if (PlayerToPoint(3, playerid,BizzInfo[i][bEntranceX], BizzInfo[i][bEntranceY], BizzInfo[i][bEntranceZ]) || PlayerToPoint(3, playerid,BizzInfo[i][bExitX], BizzInfo[i][bExitY], BizzInfo[i][bExitZ]) || BizzInfo[i][bVW] == GetPlayerVirtualWorld(playerid)) { if(PlayerInfo[playerid][pPbiskey] == i) { if(BizzInfo[i][bLocked] == 1) { BizzInfo[i][bLocked] = 0; GameTextForPlayer(playerid, "~w~Bussiness ~g~Open", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } if(BizzInfo[i][bLocked] == 0) { BizzInfo[i][bLocked] = 1; GameTextForPlayer(playerid, "~w~Bussiness ~r~Closed", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } } else { GameTextForPlayer(playerid, "~r~You Dont Have A Key", 5000, 6); return 1; } } } for(new i = 0; i < sizeof(SBizzInfo); i++) { if (PlayerToPoint(3, playerid,SBizzInfo[i][sbEntranceX], SBizzInfo[i][sbEntranceY], SBizzInfo[i][sbEntranceZ])) { if(PlayerInfo[playerid][pPbiskey] == i+100) { if(SBizzInfo[i][sbLocked] == 1) { SBizzInfo[i][sbLocked] = 0; GameTextForPlayer(playerid, "~w~Bussiness ~g~Open", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } if(SBizzInfo[i][sbLocked] == 0) { SBizzInfo[i][sbLocked] = 1; GameTextForPlayer(playerid, "~w~Bussiness ~r~Closed", 5000, 6); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); return 1; } } else { GameTextForPlayer(playerid, "~r~You Dont Have A Key", 5000, 6); return 1; } } } } return 1; } if(strcmp(cmd, "/buyhouse", true) == 0) { if(IsPlayerConnected(playerid)) { new Float:oldposx, Float:oldposy, Float:oldposz; GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerPos(playerid, oldposx, oldposy, oldposz); for(new h = 0; h < sizeof(HouseInfo); h++) { if(PlayerToPoint(2.0, playerid, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]) && HouseInfo[h][hOwned] == 0) { if(PlayerInfo[playerid][pLevel] < HouseInfo[h][hLevel]) { format(string, sizeof(string), " You must be Level %d to purchase this !", HouseInfo[h][hLevel]); SendClientMessage(playerid, COLOR_GRAD5, string); return 1; } if(PlayerInfo[playerid][pPhousekey] != 255 && strcmp(playername, HouseInfo[PlayerInfo[playerid][pPhousekey]][hOwner], true) == 0) { SendClientMessage(playerid, COLOR_WHITE, " You already own a house, type /sellhouse if you want to buy this one !"); return 1; } if(GetPlayerMoney(playerid) > HouseInfo[h][hValue]) { PlayerInfo[playerid][pPhousekey] = h; HouseInfo[h][hOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(HouseInfo[h][hOwner], sendername, 0, strlen(sendername), 255); GivePlayerMoney(playerid,-HouseInfo[h][hValue]); PlayerPlayMusic(playerid); SetPlayerVirtualWorld(playerid,HouseInfo[h][hVW]); SetPlayerPos(playerid,HouseInfo[h][hExitx],HouseInfo[h][hExity],HouseInfo[h][hExitz]); TogglePlayerControllable(playerid,0); SetTimerEx("FreezeTimer",3000,0,"d",playerid); HouseEntered[playerid] = h; GameTextForPlayer(playerid, "~w~Welcome Home~n~You can exit at any time by moving to this door and typing /exit", 5000, 3); PlayerInfo[playerid][pLocal] = h; SendClientMessage(playerid, COLOR_WHITE, "Congratulations, on your new Purchase !"); SendClientMessage(playerid, COLOR_WHITE, "Type /help to review the new property help section !"); DateProp(playerid); OnPropUpdate(); OnPlayerUpdateEx(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, " You don't have the cash for that !"); return 1; } } } } return 1; } Imagini / Video (optional): - Ati incercat sa rezolvati singur?: Da
-
Descriere tutorial: Vreau si eu sa stiu cum pot face sa dau pe o raza anume wanted adica daca dau rob si sunt mai multi playeri langa mine sa le dea si lor
-
Problema intalnita (descriere): Am facut o comanda cu skin-uri si daca dau /clothes apar doar cele de la civil, adica daca sunt politist tot cele de la civil apar, va arat mai jos care e treaba.Ero(area / rile) / warning-(ul / urile): -Liniile de cod / sursa / script-ul(obligatoriu): if(strcmp(cmd, "/clothes", true) == 0) { if(IsPlayerConnected(playerid)) { for(new i = 0; i < sizeof(BizzInfo); i++) { if(i == 12) { if(PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0) { ShowModelSelectionMenu(playerid, skinlist, "Select Skin"); } else if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1) { ShowModelSelectionMenu(playerid, lspdskinlist, "Select Skin"); } else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2) { ShowModelSelectionMenu(playerid, fbiskinlist, "Select Skin"); } else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLeader] == 3) { ShowModelSelectionMenu(playerid, ngskinlist, "Select Skin"); } else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4) { ShowModelSelectionMenu(playerid, paraskinlist, "Select Skin"); } else if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5) { ShowModelSelectionMenu(playerid, lcnskinlist, "Select Skin"); } else if(PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6) { ShowModelSelectionMenu(playerid, ykzskinlist, "Select Skin"); } else if(PlayerInfo[playerid][pMember] == 7 || PlayerInfo[playerid][pLeader] == 7) { ShowModelSelectionMenu(playerid, mayorskinlist, "Select Skin"); } else if(PlayerInfo[playerid][pMember] == 8 || PlayerInfo[playerid][pLeader] == 8) { ShowModelSelectionMenu(playerid, haskinlist, "Select Skin"); } else if(PlayerInfo[playerid][pMember] == 9 || PlayerInfo[playerid][pLeader] == 9) { ShowModelSelectionMenu(playerid, nrskinlist, "Select Skin"); } else if(PlayerInfo[playerid][pMember] == 10 || PlayerInfo[playerid][pLeader] == 10) { ShowModelSelectionMenu(playerid, taxiskinlist, "Select Skin"); } else if(PlayerInfo[playerid][pMember] == 11 || PlayerInfo[playerid][pLeader] == 11) { ShowModelSelectionMenu(playerid, siskinlist, "Select Skin"); } } } } return 1; } Imagini / Video (optional): - Ati incercat sa rezolvati singur?: Da
-
problema rezolvata! T.C
-
error 001: expected token: ",", but found ";" SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid)+6; warning 215: expression has no effect nu avea o paranteza dar acum apare asta. am rezolvat, acum incerc tot wanted 3 primesc..
-
cum adica sa arat tot script-ul ? daca am zis ca la wanted am probleme ce treaba are script-ul..
-
Problema intalnita (descriere): Eu am pus in script cand dau rob sa imi dea wanted 6 si imi da wanted 3 in jocEro(area / rile) / warning-(ul / urile): - Liniile de cod / sursa / script-ul(obligatoriu): WantedPoints[playerid] += 6; WantedLevel[playerid] += 6; new wanted = WantedLevel[playerid]; SetPlayerWantedLevel(playerid, wanted); Imagini / Video (optional): http://imgur.com/a/SJry5Ati incercat sa rezolvati singur?: Da
-
acum primesc alte erori, nu cred ca merge cu case si switch... chiar nu am idee cum sa rezolv.. ce naiba o avea nu stiu
-
am incercat si primesc astea : error 008: must be a constant expression; assumed zero error 008: must be a constant expression; assumed zero error 008: must be a constant expression; assumed zero error 008: must be a constant expression; assumed zero error 008: must be a constant expression; assumed zero linii: case pickuprob1: { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); DestroyPickup(pickuprob1); GivePlayerMoney(playerid, 100); pickuprob2 = CreatePickup(1317, 2, -768.50732, 163.46100, 1311.45032,-1); pickuprob = 1; } case pickuprob2: { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); DestroyPickup(pickuprob2); GivePlayerMoney(playerid, 100); pickuprob3 = CreatePickup(1317, 2, -768.41071, 159.51573, 1311.45032,-1); pickuprob = 2; } case pickuprob3: { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); DestroyPickup(pickuprob3); GivePlayerMoney(playerid, 100); pickuprob4 = CreatePickup(1317, 2, -773.66333, 159.41650, 1311.45032,-1); pickuprob = 3; } case pickuprob4: { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); DestroyPickup(pickuprob4); GivePlayerMoney(playerid, 100); pickuprob5 = CreatePickup(1317, 2, -773.89978, 163.35112, 1311.45032,-1); pickuprob = 4; } case pickuprob5: { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); DestroyPickup(pickuprob5); pickuprob = 5; PlayerInfo[playerid][pRobPoints] = 0; GivePlayerMoney(playerid, 100); WantedLevel[playerid] = 6; WantedPoints[playerid] += 6; SetPlayerWantedLevel(playerid, 6); SetPlayerCriminal(playerid,255, "Bank robbery"); SendClientMessage(playerid, 0xFFD8D8D8, "ROB: All money collected. Now run!"); }
-
nu stie nimeni?
-
Am incercat si cu checkpoint-uri dar am citit pe samp wiki ca daca pun checkpoint-uri si cladirea este la inaltime , checkpoint-ul se va pune pe pamant si chiar asa este. Known Bug: Checkpoints created on server-created objects (CreateObject/CreatePlayerObject) will appear down on the 'real' ground, but will still function correctly. There is no fix available for this issue. A pickup can be used instead. daca pun doar if-uri , nu se mai leaga pickup-urile intre ele, si nu imi mai apare nici un pickup dupa ce dispare primul.
-
Problema intalnita (descriere):Am incercat sa fac niste pickup-uri si cand intru in primul , dispare primul pickup si apare al doilea , dar la al doilea dispare dar nu apare al treilea apare tot al doilea. Ero(area / rile) / warning-(ul / urile): - Liniile de cod / sursa / script-ul(obligatoriu): if(pickupid == pickuprob1) { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); DestroyPickup(pickuprob1); GivePlayerMoney(playerid, 100); pickuprob2 = CreatePickup(1317, 1, -768.50732, 163.46100, 1311.45032,-1); } else if(pickupid == pickuprob2) { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); DestroyPickup(pickuprob2); GivePlayerMoney(playerid, 100); pickuprob3 = CreatePickup(1317, 1, -768.41071, 159.51573, 1311.45032,-1); } else if(pickupid == pickuprob3) { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); DestroyPickup(pickuprob3); GivePlayerMoney(playerid, 100); pickuprob4 = CreatePickup(1317, 1, -773.66333, 159.41650, 1311.45032,-1); } else if(pickupid == pickuprob4) { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); DestroyPickup(pickuprob4); GivePlayerMoney(playerid, 100); pickuprob5 = CreatePickup(1317, 1, -773.89978, 163.35112, 1311.45032,-1); } else if(pickupid == pickuprob5) { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0); DestroyPickup(pickuprob5); GivePlayerMoney(playerid, 100); SendClientMessage(playerid, COLOR_GREY, "All money collected. Now run!"); } Imagini / Video (optional): - Ati incercat sa rezolvati singur?: Da
-
Am rezolvat intre timp , imi lipsea o ] [playerid
-
Problema intalnita (descriere): Cand dau sa compilez primesc o eroare.Ero(area / rile) / warning-(ul / urile): (8107) : error 028: invalid subscript (not an array or too many subscripts): "playerid" (8107) : warning 215: expression has no effect (8107) : error 001: expected token: ";", but found "]" (8107) : error 029: invalid expression, assumed zero (8107) : fatal error 107: too many error messages on one line Liniile de cod / sursa / script-ul(obligatoriu): new vehicle1 = PlayerInfo[playerid[pPcarkey]; Imagini / Video (optional): -Ati incercat sa rezolvati singur?: Da
-
T.C , multumesc mult Mister!