Jump to content

ZeCo

Membru
  • Posts

    82
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by ZeCo

  1. Problema intalnita (descriere): Imi da 4 erori la un DialogEro(area / rile) / warning-(ul / urile): C:\Users\Paul\Desktop\GameMode\GameMode\gamemodes\ThePyrex.pwn(33415) : error 029: invalid expression, assumed zero C:\Users\Paul\Desktop\GameMode\GameMode\gamemodes\ThePyrex.pwn(33415) : error 017: undefined symbol "DialogString" C:\Users\Paul\Desktop\GameMode\GameMode\gamemodes\ThePyrex.pwn(33415) : error 029: invalid expression, assumed zero C:\Users\Paul\Desktop\GameMode\GameMode\gamemodes\ThePyrex.pwn(33415) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. Liniile de cod / sursa / script-ul(obligatoriu): //------------------------------------------------------------------------------------------// if(strcmp(cmd, "/car", true) == 0) { if(IsPlayerConnected(playerid)) { new carkey = PlayerData[playerid][pPcarkey]; new carkey2 = PlayerData[playerid][pPcarkey2]; new carkey3 = PlayerData[playerid][pPcarkey3]; new carkey4 = PlayerData[playerid][pPcarkey4]; new carkey5 = PlayerData[playerid][pPcarkey5]; if(carkey != 999 && carkey != 0) { format(string, sizeof(string), "Model: %s Valoare: %d | Incuiat: %d | Numar: %s", CarData[carkey][cDescription], CarData[carkey][cValue], CarData[carkey][cLockk], CarData[carkey][cNum]); ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_LIST, "Masini personale", DialogString, "Select", "Close"); } if(carkey2 != 999 && carkey2 != 0) { format(string, sizeof(string), "Model: %s Valoare: %d | Incuiat: %d | Numar: %s", CarData[carkey2][cDescription], CarData[carkey2][cValue], CarData[carkey2][cLockk], CarData[carkey2][cNum]); ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_LIST, "Masini personale", DialogString, "Select", "Close"); } if(carkey3 != 999 && carkey3 != 0) { format(string, sizeof(string), "Model: %s Valoare: %d | Incuiat: %d | Numar: %s", CarData[carkey3][cDescription], CarData[carkey3][cValue], CarData[carkey3][cLockk], CarData[carkey3][cNum]); ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_LIST, "Masini personale", DialogString, "Select", "Close"); } if(carkey4 != 999 && carkey4 != 0) { format(string, sizeof(string), "Model: %s Valoare: %d | Incuiat: %d | Numar: %s", CarData[carkey4][cDescription], CarData[carkey4][cValue], CarData[carkey4][cLockk], CarData[carkey4][cNum]); ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_LIST, "Masini personale", DialogString, "Select", "Close"); } if(carkey5 != 999 && carkey5 != 0) { format(string, sizeof(string), "Model: %s Valoare: %d | Incuiat: %d | Numar: %s", CarData[carkey5][cDescription], CarData[carkey5][cValue], CarData[carkey5][cLockk], CarData[carkey5][cNum]); ShowPlayerDialog(playerid, DIALOG_V, DIALOG_STYLE_LIST, "Masini personale", DialogString, "Select", "Close"); } return 1; } //----------------------------------------------------------------------------------------------------// Imagini / Video (optional):Ati incercat sa rezolvati singur?: Da, nu am reusit
  2. ZeCo

    /cars pe dialog

    Totusi, nu am rezolvat.. Inca astept pe cineva sa-mi explice mai bine
  3. ZeCo

    /cars pe dialog

    Asta am facut. Dar la datele de la masini cum fac?.. Sa-mi apara ceva de gen: Model: Monster B | Valoare: 90.000.000$ | Culoare 1: 211 Culoare 2: 222 | Incuiata: Da | Numar: LS 06 FFF
  4. ZeCo

    /cars pe dialog

    Nu inteleg ce vrei sa zici.. Daca ma poti ajuta, imi poti face comanda? . Daca ai timp.
  5. ZeCo

    /cars pe dialog

    Practic eu am pus in loc de ”SendClientMesage” ”ShowPlayerDialog”. error 035: argument type mismatch (argument 3) error 035: argument type mismatch (argument 3) error 035: argument type mismatch (argument 3) error 035: argument type mismatch (argument 3)
  6. Problema intalnita (descriere): Nu reusesc sa fac acesta comanda pe dialog: if(strcmp(cmd, "/car", true) == 0) { if(IsPlayerConnected(playerid)) { new carkey = PlayerData[playerid][pPcarkey]; new carkey2 = PlayerData[playerid][pPcarkey2]; new carkey3 = PlayerData[playerid][pPcarkey3]; new carkey4 = PlayerData[playerid][pPcarkey4]; new carkey5 = PlayerData[playerid][pPcarkey5]; SendClientMessage(playerid, COLOR_RED," "); SendClientMessage(playerid, COLOR_LIGHTGREEN,"|_______________Masini Personale_______________|"); if(carkey != 999 && carkey != 0) { format(string, sizeof(string), "Slot 1| Model: [%s] Valoare: [%d] Culoare 1: [%d] Culoare 2: [%d] Incuiata: [%d] Numar: [%s] ", CarData[carkey][cDescription], CarData[carkey][cValue], CarData[carkey][cColorOne], CarData[carkey][cColorTwo], CarData[carkey][cLockk], CarData[carkey][cNum]); SendClientMessage(playerid, COLOR_GRAD5,string); } if(carkey2 != 999 && carkey2 != 0) { format(string, sizeof(string), "Slot 2| Model: [%s] Valoare: [%d] Culoare 1: [%d] Culoare 2: [%d] Incuiata: [%d] Numar: [%s] ", CarData[carkey2][cDescription], CarData[carkey2][cValue], CarData[carkey2][cColorOne], CarData[carkey2][cColorTwo], CarData[carkey2][cLockk], CarData[carkey2][cNum]); SendClientMessage(playerid, COLOR_GRAD5,string); } if(carkey3 != 999 && carkey3 != 0) { format(string, sizeof(string), "Slot 3| Model: [%s] Valoare: [%d] Culoare 1: [%d] Culoare 2: [%d] Incuiata: [%d] Numar: [%s] ", CarData[carkey3][cDescription], CarData[carkey3][cValue], CarData[carkey3][cColorOne], CarData[carkey3][cColorTwo], CarData[carkey3][cLockk], CarData[carkey3][cNum]); SendClientMessage(playerid, COLOR_GRAD5,string); } if(carkey4 != 999 && carkey4 != 0) { format(string, sizeof(string), "Slot 4| Model: [%s] Valoare: [%d] Culoare 1: [%d] Culoare 2: [%d] Incuiata: [%d] Numar: [%s] ", CarData[carkey4][cDescription], CarData[carkey4][cValue], CarData[carkey4][cColorOne], CarData[carkey4][cColorTwo], CarData[carkey4][cLockk], CarData[carkey4][cNum]); SendClientMessage(playerid, COLOR_GRAD5,string); } return 1; } return 1; } Ero(area / rile) / warning-(ul / urile): Mi-a dat 26. Liniile de cod / sursa / script-ul(obligatoriu):Imagini / Video (optional): Ati incercat sa rezolvati singur?: Da
×
×
  • 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.