Jump to content

LyN

Member
  • Posts

    88
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by LyN

  1. varutuuuuuuuuuuuuuuuuu

  2. https://wiki.sa-mp.com/wiki/OnPlayerClickMap_DE
  3. https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/ instaleazale pe rand
  4. mareste array-ul la HouseInfo
  5. if(PlayerInfo[playerid][pJob] == 0) { for(new j = 1; j < MAX_JOBS; j++) { if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_WARNING, "Eroare: {FFFFFF} Nu poti aceasta comanda dintr-un vehicul!"); if(PlayerToPoint(3.0, playerid, JobInfo[j][jPosX], JobInfo[j][jPosY], JobInfo[j][jPosZ]) && j != 7) { if(PlayerInfo[playerid][pLevel] < JobInfo[j][jLevel]) { va_SendClientMessage(playerid, COLOR_LIGHTBLUE, "JobInfo: {FFFFFF} Ai nevoie de level %d pentru a lua jobul %s.", JobInfo[j][jLevel], JobInfo[j][jName]); return true; } switch(j) { case 7: SendClientMessage(playerid, COLOR_LIGHTBLUE, "JobInfo: {FFFFFF}Comenzile pentru acest job sunt: /repair si /refill !"); case 8: SendClientMessage(playerid, COLOR_LIGHTBLUE, "JobInfo: {FFFFFF}Comenzile pentru acest job sunt: /find"); case 11: SendClientMessage(playerid, COLOR_LIGHTBLUE, "JobInfo: {FFFFFF}Comenzile pentru acest job sunt: /fish"); } if(j != 6) SendClientMessage(playerid, COLOR_LIGHTBLUE, "JobInfo: {FFFFFF}Pentru a incepe sa muncesti, ai la dispozitie comanda /work."); PlayerInfo[playerid][pJob] = j; new str [128]; mysql_format(SQL, str, 128, "UPDATE `users` SET `Job`='%d' WHERE `ID`='%d' LIMIT 1",PlayerInfo[playerid][pJob],PlayerInfo[playerid][pSQLID]); mysql_tquery(SQL, str, "", ""); va_SendClientMessage(playerid, COLOR_LIGHTBLUE, "JobInfo: {FFFFFF} Felicitari! Noul tau job este acum %s.", JobInfo[j][jName]); } } return true; }
  6. pe alte conturi merge? posibil sa ai setat un ID mai mare de 100
  7. for(new i = 1; i < apartamentss; i++) { if(IsPlayerInRangeOfPoint(playerid, 2.0, apartamentInfo[i][apPos][0], apartamentInfo[i][apPos][1], apartamentInfo[i][apPos][2])) { SetPlayerVirtualWorld(playerid, apartamentInfo[i][apVw]); SetPlayerInterior(playerid, 1); SetPlayerPosEx(playerid, apartamentInfo[i][apEPos][0], apartamentInfo[i][apEPos][1], apartamentInfo[i][apEPos][2]); } if(IsPlayerInRangeOfPoint(playerid, 2.0, apartamentInfo[i][apEPos][0], apartamentInfo[i][apEPos][1], apartamentInfo[i][apEPos][2]) && GetPlayerVirtualWorld(playerid) == apartamentInfo[i][apVw]) { SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetPlayerPosEx(playerid, apartamentInfo[i][apPos][0], apartamentInfo[i][apPos][1], apartamentInfo[i][apPos][2]); } }
×
×
  • Create New...