Jump to content

Razvann

Membru
  • Posts

    252
  • Joined

  • Last visited

    Never

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Razvann's Achievements

Community Regular

Community Regular (8/14)

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

Recent Badges

0

Reputation

  1. Razvann

    Zcmd

    new vehicleid = GetPlayerVehicleID(playerid);
  2. CMD:startrace(playerid,params[]) { if(IsPlayerInRangeOfPoint(playerid,7,2096.3289, 1284.3533, 10.0142)) { SetPlayerInterior(playerid,0); SetTimer("CountDown",10000,0); SendClientMessageToAll(yellow,"The Race {FF000}was been started ,Type /Race {FFFAAAF}to join,Race Will Start In 10 Seconds"); SendClientMessage(playerid,yellow," Type /LeaveRace To exit"); TogglePlayerControllable(playerid,0); Race[playerid] = 1; return 1; } else return SCM(playerid,yellow, "You Can't {FF000} start race ..{FFFAAAF}Type /Race and try again"); } incearca asta...
  3. [pawn] if(CarInfo[newcar][cOwned]==1) { format(string,sizeof(string),"Vehicle bought to %s",CarInfo[newcar][cOwner]); SendClientMessage(playerid, COLOR_BLUE, string); return 1; } } gLastCar[playerid] = newcar; gLastDriver[newcar] = playerid; }[/pawn]
  4. bine identat script... [pawn] if (VehicleSystem[vehicleid][cLock]==0) { SetVehicleParamsForPlayer(vehicleid,i,0,1); } else if (VehicleSystem[vehicleid][cLock]==1) { SetVehicleParamsForPlayer(vehicleid,i,0,0); }[/pawn] pt ca folosesti asta, mereu cand intrii intr-o masina daca este blocata apoi se deblocheaza si invers. incearca sa dezactivezi asta si vezi ce se intampla
  5. sterge PlayerPos.. invata cum sa creezi un 3DTextLabel adauga [pawn] forward HBroadCast(color,const string[],level); forward ResetBan(...); forward ResetKick(...); [/pawn] la nested comment, ai folosit de 2 ori /* si */, posteaza toata comanda dezactivata
  6. posteaza ce ai facut pana acum sa te putem ajuta
  7. [pawn]id = mysql_insert_id();[/pawn] apoi foloseste [pawn]PlayerInfo[playerid][pPcarkey] = id;[/pawn] btw: nu trebuie sa creezi variabile pentru x, y, z, angle etc.. [pawn] format(Query, sizeof(Query), "INSERT INTO `cars` (`Model`, `Locationx`, `Locationy`, `Locationz`, `Angle`, `Owner`, `Description`, `Value`, `License`) VALUES ('%d','2783.9478', '-2494.4778', '13.6550', '85.6610','%s','%s','%d','%s')",model,sendername,description,value,license); CreateVehicle(model, CarInfo[id][cLocationx], CarInfo[id][cLocationy], CarInfo[id][cLocationz], CarInfo[id][cAngle], 999999);[/pawn] + ca value nu e definit => o sa fie = 0, la fel si license.. modelul este introdus prin dialog, daca pui de ex 612 (care nu exista) vor aparea buguri
  8. incearca asa, nu e nimic ce cauzeaza lagul cred: [pawn] for(new i = 0; i < MAX_PING_EXCEEDS; i++) { AccInfo[playerid][pPing] = 0; } [/pawn] daca e tot la fel, sterge asta si spune daca se mai blocheaza
  9. atunci rezolva-ti problema singur.. fara cod nu am ce sa iti fac chiar crezi ca am nevoie de codul tau sa il copiez?
  10. ce valoare are ping_max_exceeds? posteaza buridgeconnect
  11. dude, nu trebuie niciun cod mysql atunci cand el este conectat, folosesti: [pawn]PlayerInfo[playerid][pPcarkey] = id;[/pawn] sau ce ai tu. nu am de unde sa stiu cum ai codul, de asta ti-am spus, iar pt mysql: new szName[MAX_PLAYER_NAME], szQuery[256]; GetPlayerName(playerid, szName, sizeof(szName)); format(szQuery, sizeof(szQuery), "UPDATE `tabelulptplayeri` SET CarKey = %d WHERE Name = '%s'", idmasina, szName); mysql_query(szQuery); posteaza variabilele si numele la tabele/row-uri ca se te pot ajuta :|
  12. postezi codul sa te putem ajuta.. vrei ca masina sa fie setata cat timp playerul e offline/online?
×
×
  • 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.