08.01.2015, 16:59
Hello guys, i'm italian scripter, but i've problem with one script.
I've made a strongbox and i've problem with write a password of this strongbox, watch the script, is italian sorry.
All the time, i write good or wrong the message is:
I've script only text and the script view a good password of hInfo[InCasa[playerid]][Cassafortepass] but with Inputtext don't work.
Thanks for all helpers
I've made a strongbox and i've problem with write a password of this strongbox, watch the script, is italian sorry.
Код:
if(!strcmp(inputtext, hInfo[InCasa[playerid]][Cassafortepass], false)) { GivePlayerCash(playerid, hInfo[i][Cassaforte]); hInfo[i][Cassaforte] = 0; SendClientMessage(playerid, VERDE, "[Successo]: {FFFFFF}Complimenti, hai rubato i soldi in casa!"); controllocontenuto[playerid] = 0; } else { SendClientMessage(playerid, ROSSO, "[Cassaforte]: {FFFFFF}Non sei riuscito ad aprire la cassaforte"); }
Код:
SendClientMessage(playerid, ROSSO, "[Cassaforte]: {FFFFFF}Non sei riuscito ad aprire la cassaforte");
Thanks for all helpers
![Smiley](images/smilies/smile.png)