Jump to content

Daniel_Dani

Membru
  • Posts

    88
  • Joined

  • Last visited

    Never

Daniel_Dani's Achievements

Collaborator

Collaborator (7/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Am public OnPlayerEnterRaceCheckpoint(playerid)
  2. Cand compilez primesc acest warning.Inainte sa bag noul streamer 2.6 nu primeam. [pawn](3250) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")[/pawn]
  3. Am o problema.. cand un jucator moare nu il da tot timpul la spital... uneori in da unde a murit. Cum as putea rezolva?
  4. Aceleasi warning [pawn] else if(IsADrugHarvest(newcar))//---- Aceasta este linia. { if(PlayerInfo[playerid][pJob] == 19) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "____________Ghid fermier de droguri____________"); SendClientMessage(playerid, COLOR_WHITE, "** Fermier droguri ** /startdrugharvest, /stopdrugharvest sau /exit"); SendClientMessage(playerid, COLOR_LIGHTBLUE, "_________________________________________"); TogglePlayerControllable(playerid, 0); } else { SendClientMessage(playerid, COLOR_GREY, " Nu ai cheile vehiculului !"); RemovePlayerFromVehicle(playerid); } }[/pawn] [pawn]else if(IsASmuggleCar(newcar)) { if(PlayerInfo[playerid][pJob] == 20) { SendClientMessage(playerid, COLOR_YELLOW, "HINT: You can smuggle drugs now !"); } else//--------Si aceasta { SendClientMessage(playerid, COLOR_GREY, " Nu ai cheile vehiculului !"); RemovePlayerFromVehicle(playerid); } }[/pawn]
  5. C:\Documents and Settings\Dani\Desktop\Raven's Roleplay 1\gamemodes\larp.pwn(16932) : warning 217: loose indentation C:\Documents and Settings\Dani\Desktop\Raven's Roleplay 1\gamemodes\larp.pwn(16953) : warning 217: loose indentation C:\Documents and Settings\Dani\Desktop\Raven's Roleplay 1\gamemodes\larp.pwn(28083) : warning 219: local variable "idcar" shadows a variable at a preceding level Cum as putea sa le rezolv?
  6. Pana la urma cum se face ca sa mearga bine..? Adica sa ramana wantedu la playerul respectiv nu la IP?
  7. Ai cumva vreao alta solutie cum as putea sa fac sa ramana wantedul dupa ce un jucator da relog si intra iar?
  8. Nu gasesc unde in ce am adaugat eu... daca imi poti spune ti-as fi recunoscator.
  9. Am adaugat in GM astea pentru a salva wantedul dupa relog. Iar cand compilez imi da don't send la pawno.. aveti idee de ce? [pawn]#define USER_WANTED_FOLDER "Users/Wanted/%s" public OnPlayerDisconnect(playerid, reason){ new WantedLevel = GetPlayerWantedLevel(playerid); new string[256]; new pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, sizeof(pName)); format(string, sizeof(string), USER_WANTED_FOLDER, pName); if(!dini_Exists(string)){ dini_Create(string); dini_Set(string, "WantedLevel", WantedLevel); }else{ dini_Set(string, "WantedLevel", WantedLevel); } return 1; }[/pawn] [pawn]public OnPlayerConnect(playerid){ new string[256]; new pName[MAX_PLAYER_NAME]; GetPlayerName(playerid, pName, sizeof(pName)); format(string, sizeof(string), USER_WANTED_FOLDER, pName); if(dini_Exists(string)){ new WantedLevel = dini_Set(string, "WantedLevel", WantedLevel); SetPlayerWantedLevel(playerid, WantedLevel); } return 1; }[/pawn]
  10. Perfect! Mersi mult pentru ajutor!
  11. De ce imi da don't send la pawno cand bag comanda asta? [pawn] //----------------------------------[ROB]----------------------------------------------- if(strcmp(cmd, "/rob", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsPlayerInVehicle(playerid, 295)) { CP[playerid] = 50; SetPlayerCheckpoint(playerid, 1460.9639, -1022.6666, 23.8281, 3.0); SendClientMessage(playerid, COLOR_YELLOW,"Dute cu dubita pana in fata la banca."); } else { SendClientMessage(playerid, COLOR_GREY," Tu nu esti in Duba Roz !"); SendClientMessage(playerid, COLOR_RED,"Duba o gasesti intr-o parcare subterana din Los Santos"); } } } else { SendClientMessage(playerid, COLOR_GREY," Tu nu poti sa jefuiesti banca acum !"); RemovePlayerFromVehicle(playerid); SetVehicleToRespawn(253); return 1; } }[/pawn]
  12. Multumesc Ice. Nu pot face in asa fel incat sa se salveze wantedul corect cand un player iese pe numele lui? Sau sa il dea la inchisoare ca si cum ar fi murit cu wanted?
×
×
  • 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.