PDA

View Full Version : Help with house


[MKD]Max
30/08/2011, 07:50 AM
hello guys i was to do something its when i do sell for house that i owned delete the player name from house file

for e.x


Blalb/Houses/Users/Blala.ini


now this players file blala get delete from House File when he sell his house ??? how please help

[MG]Dimi
30/08/2011, 07:53 AM
new file[128],pName[24];
GetPlayerName(playerid,pName,24);
format(file,128,"/Blalb/Houses/Users/%s.ini",pName);
dini_Remove(file);
Should work, ;)

[MKD]Max
30/08/2011, 07:54 AM
thanks man i owe one :D

[MG]Dimi
30/08/2011, 07:55 AM
No problem ;)