Jump to content

MrAndyAdv

Membru
  • Posts

    222
  • Joined

  • Last visited

Everything posted by MrAndyAdv

  1. Infine , nu are helpertoken nu are treabaa si nici cu Respectpoints . este ceva dela pRegistred din database..
  2. pai este gamemodeul kropex ce nu iti dai seama? Edit: ce sa caut rp si cu helpertokenu nu are treaba cu nimic este dela altceva este dela pRegistred aia nustiu eu sa fac.
  3. O ia la primul spawn SI ce sa iti arat? spune pe limba incepatorilor :..
  4. Si eu am lafel acesta problema , eu folosesc Browser..
  5. Problema intalnita (descriere): Cand un player se inregistreaza il blocheaza iar eu trebuie sa intru in DATABASE si sa pun la Registred inloc de "0" trebuie sa pun "1"..Ero(area / rile) / warning-(ul / urile): - Liniile de cod / sursa / script-ul(obligatoriu): Imi spune-ti ce sa va dau..Imagini / Video (optional): - Ati incercat sa rezolvati singur? Da! si cu ajutorul lui DaeDric.
  6. Am rezolvat singur! , cer T/C
  7. mysql_format(handle, string, sizeof(string),"INSERT INTO cars (ID, Model) VALUES (%d, %d)", idd, CarInfo[idd][cModel]); mysql_tquery(handle, string, "", ""); mysql_format(handle, string, sizeof(string), "UPDATE cars SET Locationx='%f' WHERE ID=%d", CarInfo[idd][cLocationx], idd); mysql_tquery(handle, string, "", ""); mysql_format(handle, string, sizeof(string), "UPDATE cars SET Locationy='%f' WHERE ID=%d", CarInfo[idd][cLocationy], idd); mysql_tquery(handle, string, "", ""); mysql_format(handle, string, sizeof(string), "UPDATE cars SET Locationz='%f' WHERE ID=%d", CarInfo[idd][cLocationz], idd); mysql_tquery(handle, string, "", ""); mysql_format(handle, string, sizeof(string), "UPDATE cars SET Angle='%f' WHERE ID=%d", CarInfo[idd][cAngle], idd); mysql_tquery(handle, string, "", ""); mysql_format(handle, string, sizeof(string), "UPDATE cars SET ColorOne='%d' WHERE ID=%d", CarInfo[idd][cColorOne], idd); mysql_tquery(handle, string, "", ""); mysql_format(handle, string, sizeof(string), "UPDATE cars SET ColorTwo='%d' WHERE ID=%d", CarInfo[idd][cColorTwo], idd); mysql_tquery(handle, string, "", ""); mysql_format(handle, string, sizeof(string), "UPDATE cars SET Owner='%s' WHERE ID=%d", CarInfo[idd][cOwner], idd); mysql_tquery(handle, string, "", ""); mysql_format(handle, string, sizeof(string), "UPDATE cars SET Value='%d' WHERE ID=%d", CarInfo[idd][cValue], idd); mysql_tquery(handle, string, "", ""); mysql_format(handle, string, sizeof(string), "UPDATE cars SET License='%s' WHERE ID=%d", CarInfo[idd][cLicense], idd); mysql_tquery(handle, string, "", ""); mysql_format(handle, string, sizeof(string), "UPDATE cars SET Alarm='%d' WHERE ID=%d", CarInfo[idd][cAlarm], idd); mysql_tquery(handle, string, "", ""); mysql_format(handle, string, sizeof(string), "UPDATE cars SET Lockk='%d' WHERE ID=%d", CarInfo[idd][cLock], idd); mysql_tquery(handle, string, "", ""); mysql_format(handle, string, sizeof(string), "UPDATE cars SET Userid='%d' WHERE ID=%d", PlayerInfo[playerid][pSQLID], idd); mysql_tquery(handle, string, "", ""); Done ( credca astea sunt)
  8. CMD:v(playerid, params[], help) { new szMessage[1024]; new param4[124],param69[124],param59[124],param70[124], param90[124]; if(PlayerInfo[playerid][CarKey1] != 0) { new spawntext[24]; new m = despawntime1[playerid] / 60; new s = despawntime1[playerid] - m*60; new idd = PlayerInfo[playerid][CarKey1]; if(CarInfo[idd][Spawned] > 0) { format(spawntext, sizeof(spawntext), "{33cc33}Spawnata(%02d:%02d)", m, s); } else { spawntext = "{ff0000}Despawnata"; } format(param4, sizeof(param4), "{ffffff}1.\t%s\t%s", vehName[CarInfo[idd][cModel]-400], spawntext); } else { param4 = "1.\t{ffff00}Empty"; } if(PlayerInfo[playerid][CarKey2] != 0) { new spawntext[24]; new m = despawntime2[playerid] / 60; new s = despawntime2[playerid] - m*60; new idd = PlayerInfo[playerid][CarKey2]; if(CarInfo[idd][Spawned] > 0) {format(spawntext, sizeof(spawntext), "{33cc33}Spawnata(%02d:%02d)", m, s);} else {spawntext = "{ff0000}Despawnata";} format(param69, sizeof(param4), "{ffffff}2.\t%s\t%s", vehName[CarInfo[idd][cModel]-400], spawntext); } else { param69 = "2.\t{ffff00}Empty"; } if(PlayerInfo[playerid][CarKey3] != 0) { new spawntext[24]; new m = despawntime3[playerid] / 60; new s = despawntime3[playerid] - m*60; new idd = PlayerInfo[playerid][CarKey3]; if(CarInfo[idd][Spawned] > 0) {format(spawntext, sizeof(spawntext), "{33cc33}Spawnata(%02d:%02d)", m, s);} else {spawntext = "{ff0000}Despawnata";} format(param59, sizeof(param59), "{ffffff}3.\t%s\t%s", vehName[CarInfo[idd][cModel]-400], spawntext); } else { param59 = "3.\t{ffff00}Empty"; } if(PlayerInfo[playerid][CarKey4] != 0) { new spawntext[24]; new m = despawntime4[playerid] / 60; new s = despawntime4[playerid] - m*60; new idd = PlayerInfo[playerid][CarKey4]; if(CarInfo[idd][Spawned] > 0) {format(spawntext, sizeof(spawntext), "{33cc33}Spawnata(%02d:%02d)", m, s);} else {spawntext = "{ff0000}Despawnata";} format(param70, sizeof(param70), "{ffffff}4.\t%s\t%s", vehName[CarInfo[idd][cModel]-400], spawntext); } else { param70 = "4.\t{ffff00}Empty"; } if(PlayerInfo[playerid][CarKey5] != 0) { new spawntext[24]; new m = despawntime5[playerid] / 60; new s = despawntime5[playerid] - m*60; new idd = PlayerInfo[playerid][CarKey5]; if(CarInfo[idd][Spawned] > 0) {format(spawntext, sizeof(spawntext), "{33cc33}Spawnata(%02d:%02d)", m, s);} else {spawntext = "{ff0000}Despawnata";} format(param90, sizeof(param90), "{ffffff}5.\t%s\t%s", vehName[CarInfo[idd][cModel]-400], spawntext); } else { param90 = "5.\t{ffff00}Empty"; } format(szMessage, sizeof(szMessage), "Slot\tModel\tStatus\n%s\n%s\n%s\n%s\n%s\n",param4,param69,param59,param70, param90); ShowPlayerDialog(playerid, DIALOG_CARTOOLS, DIALOG_STYLE_TABLIST_HEADERS, "Vehicles", szMessage, "Spawn", "Cancel"); return 1; } Si adica "inserteaza" te rog mai pe limba incepatorilor..
  9. Problema intalnita (descriere): Cand un player isi cumpara o masina din dealrship nu se salveaza cand da /vEro(area / rile) / warning-(ul / urile): -Liniile de cod / sursa / script-ul(obligatoriu): Imi spuneti voi ca sa va dau.Imagini / Video (optional): -Ati incercat sa rezolvati singur?: Da ! si cu ajutorul lui DaDeric.
  10. Am facut insfarsit aceea chestie cu dsveh si cu cars ! succes e super frumos +1
  11. Hristos a inviat! Paste fericit tuturor!
  12. Mda frumos dar la tabel dscars nu inteleg ce ar trebuii sa fac pm me
  13. este postat pe pa***.ro. <3
  14. intai aprilie am observat =]]
  15. <3 <3 <3 cel mai bun player +50 iti dau <3 <3 <3
  16. Mda.. e cam urat nu este acela depe comunitatea rivala totusi te-am dat +1 EDIT: nu este cel din poze ....
  17. MULTUMIM! o sa ma uit prin el.
  18. Nume: Andrei Nick: MrAndy Vârsta: 17 Experienta administrare: 5-6 ani, Propun numele pentru comunitate: Max-Zone ( Nu mia venit in mine unul)
×
×
  • 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.