Jump to content

DoDy

Membru
  • Posts

    15
  • Joined

  • Last visited

Everything posted by DoDy

  1. Salut , am o problema la odometer , inregistreaza km la masini dupa restart toate masinile au 0.00 km , de ce ? TextDrawShowForPlayer(i, Odom); format(str3,sizeof(str3),"Odometers: %.2f Km",CarInfo[OwnedVeh(vehicle)][cKM]); TextDrawSetString(Odom, str3); } } } } return 1; } si la /goto pot da si playerii normali , nu doar adminii , de ce ? CMD:goto(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1) { new id; if(sscanf(params, "u", id)) return SendClientMessage(playerid, 0xFFFFFFFF, "{B8DBFF}Syntax: /goto <Name/Playerid>"); if(Spectate[id] != 255) return SCM(playerid,COLOR_WHITE,"{FFB870}This player use /recon."); { if(id != INVALID_PLAYER_ID) { new Float:ax,Float:ay,Float:az; GetPlayerPos(playerid,ax,ay,az); posxxx[playerid] = ax; posyyy[playerid] = ay; poszzz[playerid] = az; new Float:x, Float:y, Float:z; GetPlayerPos(id, x, y, z); new tmpcar = GetPlayerVehicleID(playerid); if (GetPlayerState(playerid) == 2) { SetVehiclePos(tmpcar, x, y+4, z); } else { SetPlayerPos(playerid,x,y+2, z); } SetPlayerVirtualWorld(playerid, GetPlayerVirtualWorld(id)); SetPlayerInterior(playerid, GetPlayerInterior(id)); if(InHouse[id] > 0) { InHouse[playerid] = InHouse[id]; } if(InHQ[id] > 0) { InHQ[playerid] = InHQ[id]; } if(InBussines[id] > 0) { InBussines[playerid] = InBussines[id]; } SendClientMessage(playerid, COLOR_GRAD1, "You have been teleported."); } else return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected."); } } else { SendClientMessage(playerid, COLOR_WHITE, "{5CAD5C}Error: Your admin/helper level isn't high enough to use this command."); } return 1; }
  2. DoDy

    Problema comenzi

    Va multumesc . As mai avea o problema cu odometers la masini , imi inregistreaza km iar dupa restart o ia de la 0 , de ce ? TextDrawShowForPlayer(i, Odom); format(str3,sizeof(str3),"Odometers: %.2f Km",CarInfo[OwnedVeh(vehicle)][cKM]); TextDrawSetString(Odom, str3); } } } } return 1; }
  3. Salut , stie cineva de ce la aceasta comanda o pot folosii playerii normali , fara sa aiba admin isi pot da fondator singuri , nu imi dau seama de ce : CMD:makeadmin(playerid, params[]) { if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "You need to login first."); if(IsPlayerConnected(playerid)) { if (PlayerInfo[playerid][pAdmin] >= 0) { new id,adminlevel,sendername[30],giveplayer[30],string[200]; if(sscanf(params, "ui",id,adminlevel)) return SendClientMessage(playerid, 0xFFFFFFFF, "{B8DBFF}Syntax: /makeadmin <Name/Playerid> <Admin Level>"); if(IsPlayerConnected(id)) { if(id != INVALID_PLAYER_ID) { GetPlayerName(id, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[id][pAdmin] = adminlevel; PlayerInfo[id][pChar] = 217; SetPlayerSkin(id, 217); printf("AdmCmd: %s has promoted %s to a level %d admin.", sendername, giveplayer, adminlevel); format(string, sizeof(string), "You have been promoted to a level %d admin by %s.", adminlevel, sendername); SendClientMessage(id, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "You have promoted %s to a level %d admin.", giveplayer,adminlevel); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), "{f03337}Warning: Admin %s has set %s to a level %d admin.", sendername,giveplayer,adminlevel); ABroadCast(COLOR_WHITE,string,4); new wakaname[25]; GetPlayerName(id,wakaname,25); new str[256]; format(str,256,"UPDATE users SET `Admin`='%d',`CChar`='%d' WHERE `name`='%s'",PlayerInfo[id][pAdmin],PlayerInfo[id][pChar],wakaname); mysql_query(SQL,str); } } else { SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}Error: Player not connected."); } } else { SendClientMessage(playerid, COLOR_WHITE, AdminOnly); } } return 1; }
  4. DoDy

    ajutor

    Eu vreau sa resetez si case / bizuri / masini,totul de la 0.
  5. DoDy

    ajutor

    Salut,cum pot da wipe la o baza de date mysql de samp ?
  6. DoDy

    Ajutor

    Nu gasesc ShowPlayerMapIcon
  7. DoDy

    Ajutor

    Salut,curand am descarcat si eu GM-ul BLOWN,si am observat ca la toate bizurile de pe mapa apare iconita ca la banca , adica dolarul ala verde [$] , ma puteti ajuta sa le scot ? Uitati si o poza , am incercuit pe mini map . http://imgur.com/yTGGX9J
  8. DoDy

    Cerere

    Salut,as dorii si un daca sunteti draguti sa imi dati un sistem de personal vehicles,ceva frumos,pe net nu am gasit nimic .. Un sistem ca pe marile servere , intelegeti voi ce servere , nu vreau sa fac reclama acum . Multumesc anticipat .
  9. DoDy

    Erori pawno

    Rezolvat , cer T/C !
  10. DoDy

    Erori pawno

    Va salut , am si eu GM-ul Blown,am facut niste modificari la factiuni,si acum imi da erorile astea,aveti idee de ce ? C:UsersSergioDesktopBloWn GMgamemodesCarbon.pwn(13218) : error 029: invalid expression, assumed zero C:UsersSergioDesktopBloWn GMgamemodesCarbon.pwn(13218) : warning 215: expression has no effect C:UsersSergioDesktopBloWn GMgamemodesCarbon.pwn(13218) : error 001: expected token: ";", but found "if" Si uitati si linia : } else if(PlayerData[targetid][pMember] == 1 || PlayerData[targetid][pLeader] == 1)//PR Ranks }
  11. @Artist,daca ma poti ajuta sa o urc pe localhost , as fii recunoscator .
  12. DoDy

    Erori pawno

    Salut,am modificat putin numele factiunilor pe un gamemod,mai exact BLOWN,iar acum imi da eroarea asta,dar nu stiu de ce . C:UsersSergioDesktopBloWn GMgamemodesCarbon.pwn(13218) : error 029: invalid expression, assumed zero C:UsersSergioDesktopBloWn GMgamemodesCarbon.pwn(13218) : warning 215: expression has no effect C:UsersSergioDesktopBloWn GMgamemodesCarbon.pwn(13218) : error 001: expected token: ";", but found "if" Si linia : else if(PlayerData[targetid][pMember] == 1 || PlayerData[targetid][pLeader] == 1)//LSPD Ranks Va multumesc .
  13. Salut,am descarcat de aici de pe forum , gm-ul BLOWN,il pornesc,totul ok,intru in server "Conected joining the game" si apoi se inchide serverul,aveti idee de ce ? Precizez ca il deschid pe localhost. Am modificat in GM baza de date cu "localhost". Uitati si o poza : http://imgur.com/JUUy3U1 Multumesc aniticpat , sper sa ma ajutati .
  14. am un gm rp si am un lag!! ( deci e de la gm nu e de la net..daaca pun alt gm merge perfect ajutatima si pe mine va roG:(
  15. Deci am un gamemod si am un lag pe sv cand intru ft mare...e de la gm stiu sigur k daca deschid alt sv nu are nik ma poate ajuta cnv cu cv ?va rog
×
×
  • 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.