- 0
/cars pe dialog
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
ZeCo
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
11 answers to this question
Recommended Posts