31.08.2011, 05:43
Hello everybody i need some help with Dini
i have this script:
but when i log out and next time log in in game my vehicle plate is gone
i need a tut how to save in Dini can someone help me?
i have this script:
Код:
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/Numeriai", cmdtext, true, 10) == 0) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,0xFFFFFFFF,"Jūs Nesate Transporte"); new string[60]; format(string,60,"Iveskite Savo Numerius.",string); ShowPlayerDialog(playerid,0,DIALOG_STYLE_INPUT,"{EE7777}Transporto Numeriai",string,"Gerai","Iseiti"); return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == 0) { if(response) { SetVehicleNumberPlate(GetPlayerVehicleID(playerid), inputtext); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); } else { SendClientMessage(playerid,0xFFFFFFFF,"Atљaukta!"); } } return 1; }
i need a tut how to save in Dini can someone help me?