Jump to content

NoManPv

Member
  • Posts

    156
  • Joined

  • Last visited

Everything posted by NoManPv

  1. cmd:sleep(playerid, params[]) { if(PlayerInfo[playerid][pWantedLevel] != 0) return SendClientMessage(playerid, COLOR_WARNING, "[ERROR] {FFFFFF}Nu poti dormi deoarece esti cautat de politie."); if(InHouse[playerid] != PlayerInfo[playerid][pHouse] && SpawnChange[playerid] == 1) return SCM(playerid, COLOR_WARNING, "[ERROR] {FFFFFF}Nu ai rent in aceasta casa!"); if(SpawnChange[playerid] == 2) { if(have_apartament(playerid) != -1) { new id = have_apartament(playerid); if(!PlayerToPoint(50.0, playerid, apartamentInfo[id][apPos][0]+2, apartamentInfo[id][apPos][1], apartamentInfo[id][apPos][2])) return SCM(playerid, COLOR_WARNING, "[ERROR] {FFFFFF}Nu ai spawn la apartament!"); } else return SCM(playerid, COLOR_WARNING, "[ERROR] {FFFFFF}Nu ai spawn la apartament! (/spawnchanage)"); } if(PlayerInfo[playerid][pSleeping] == 0) { PlayerInfo[playerid][pSleeping] = 1; TogglePlayerControllable(playerid,0); SendClientMessage(playerid, COLOR_LGREEN, "Acum dormi!"); SCM(playerid, COLOR_LGREEN, "Recomandare: Daca doresti sa lasi jocul in bara, iti recomandam sa apesi intai tasta ESC pentru a nu aparea probleme."); LoopingAnim(playerid, "CRACK", "crckdeth2", 4.0, 1, 0, 0, 0, 0); SetPlayerHealthEx(playerid, 99); SetPlayerColor(playerid, COLOR_GREY); Freezed[playerid] = 1; UpdateVar(playerid, "Status", 2); if(OnDuty[playerid] == 1) SetPlayerSkinEx(playerid, 305); OnDuty[playerid] = 0; SetPlayerArmourEx(playerid, 0); ResetWeapons(playerid); NearWanted[playerid] = 0; PlayerTextDrawHide(playerid, NearTD); tazer[playerid] = 0; } else if(PlayerInfo[playerid][pSleeping] == 1) { PlayerInfo[playerid][pSleeping] = 0; TogglePlayerControllable(playerid,1); ClearAnimations(playerid); SendClientMessage(playerid, COLOR_LGREEN, "Bine ai revenit!"); SetPlayerToTeamColor(playerid); SetPlayerHealthEx(playerid, 99); Freezed[playerid] = 0; UpdateVar(playerid, "Status", 1); } return 1; }
  2. Username:NoManPv Vârstă:16 Ce cumperi?:gamemode Cât oferi pe produs:dau cont de b-zone b-hood avere sau og-times sau white saut4p Detalii de contact:valy1120 skype sau aici pm Alte precizări:bafta
  3. job-ul este si ca filescript numai ca il pui in gm :)
  4. acuma dai wipe finca e scriptat dupa nu o sa mai ai probleme
  5. Pai iei facut salvare in baza de date la rainbow ?
  6. pai daca i da crash pawno la compilare ce errori sa iti dea ?
  7. cmd:givemoney(playerid, params[]) { if(strlen(PlayerInfo[playerid][pPin]) != 0 && PlayerInfo[playerid][pPinLogged] == 0) { SendClientMessage(playerid, COLOR_GREY, "Nu poti folosi aceasta comanda deoarece nu te-ai autentificat cu codul de securitate."); SendClientMessage(playerid, COLOR_GREY, "Pentru a te autentifica, foloseste comanda '/loginpin'!"); return 1; } if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, COLOR_LGREEN, "You are not an admin."); new money,id,string[180],sendername[25],giveplayer[25]; if(sscanf(params, "ui",id,money)) return SendClientMessage(playerid,COLOR_GREY, "USAGE: {FFFFFF}/givemoney <playerid/name> <Suma>"); if(money < -500000000 || money > 1000000000) return SCM(playerid, -1, "Suma invalida!"); if(!IsPlayerConnected(id) || id == INVALID_PLAYER_ID) return SendClientMessage(playerid, COLOR_GREY, "Acel player nu este conectat."); GivePlayerCash(id, money); GetPlayerName(id, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "{C40808}(Admin Info){FFFFFF} %s i-a trimis %s lui %s.", sendername,FormatNumber(money),giveplayer); if(GetPVarInt(playerid, "Cover") == 0) SendAdminMessage(COLOR_LOGS, string,5); format(string, sizeof(string), "I-ai trimis lui {7BAABA}%s(%d){FFFFFF} $%s.", GetName(id), id, FormatNumber(money)); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "Admin {7BAABA}%s{FFFFFF} ti-a trimis $%s.", GetName(playerid), FormatNumber(money)); SendClientMessage(id, COLOR_WHITE, string); Update(id, pCashx); format(string, sizeof(string), "%s a primit $%s de la %s (/givemoney)", GetName(id), FormatNumber(money), GetName(playerid)); InsertLog(id, string, LOG_MONEY); return 1; }
  8. a mai ramas asta leonard [07:34:37] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('0')
  9. salut am si o intrebare cum pot rezolv acesta erroare la mysql numai cand ma logez [07:34:33] [ERROR] "cache_get_row_count" - invalid connection handle (ID = 0) [07:34:37] [ERROR] CMySQLResult::GetRowDataByName() - invalid row index ('0')
×
×
  • Create New...