- 0
redundant test: constant expression is non-zero
-
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
Jimmi
Problema intalnita (descriere):Am incercat sa fac o comanda pe zcmd si m-am ales cu alte erori.Nu am folosit parametrii sscanf pentru ca stiam ca se folosesc la comenzile foarte mari.
Ero(area / rile) / warning-(ul / urile):
Liniile de cod / sursa / script-ul(obligatoriu):
Imagini / Video (optional):-
Ati incercat sa rezolvati singur?:Da si tot da erori.
//========================================[CMD /VHELP]========================================================// CMD:vhelp(playerid, params[]) { new string[256], carkey, carinfo; if(IsPlayerConnected(playerid)) SendClientMessage(playerid, COLOR_RED,"----------------------------------[Masini Personale]----------------------------------"); if(vOwner != 999 && vOwner != 0) { format(string, sizeof(string), " 1| Model: [%s] Valoare: [%d] Color1: [%d] Color2: [%d] Locked: [%d] Numar: [%s] ", carinfo[carkey][cDescription], carinfo[carkey][cValue], carinfo[carkey][cColorOne], carinfo[carkey][cColorTwo], carinfo[carkey][vLocked], carinfo[carkey][cNum],); SendClientMessage(playerid, COLOR_GRAD5,string); } if(vOwner2 != 999 && vOwner2 != 0) { format(string, sizeof(string), " 2| Model: [%s] Valoare: [%d] Color1: [%d] Color2: [%d] Locked: [%d] Numar: [%s] ", carinfo[carkey2][cDescription], carinfo[carkey2][cValue], carinfo[carkey2][cColorOne], carinfo[carkey2][cColorTwo], carinfo[carkey2][vLocked], carinfo[carkey2][cNum],); SendClientMessage(playerid, COLOR_GRAD5,string); } if(vOwner3 != 999 && vOwner3 != 0) { format(string, sizeof(string), " 3| Model: [%s] Valoare: [%d] Color1: [%d] Color2: [%d] Locked: [%d] Numar: [%s] ", carinfo[carkey3][cDescription], carinfo[carkey3][cValue], carinfo[carkey3][cColorOne], carinfo[carkey3][cColorTwo], carinfo[carkey3][vLocked], carinfo[carkey3][cNum],); SendClientMessage(playerid, COLOR_GRAD5,string); } return 1; }4 answers to this question
Recommended Posts