Help! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help! (
/showthread.php?tid=378386)
Help! -
RyanPetersons - 17.09.2012
I made a /changename cmd.
It works overall, but i have a problem
About PPC Housing.
Actually, I'm using PPC Housing, now i need to know that how we can get the owner name change in .ini file of a house
so, it changes the owner name in .ini file to which we change our name, pleaz, tell me about it
I editted none in it, just take the PPC housing Filterscript, and tell me
Re: Help! -
RLGaming - 17.09.2012
Post the /changename CMD
Re: Help! -
RyanPetersons - 17.09.2012
pawn Код:
dini_Remove(path);
dini_Remove(pFile);
format(string,sizeof(string),"You've successfully changed your name into %s, Change your password again",inputtext);
SendClientMessage(playerid,Yellow,string);
SetPlayerName(playerid,inputtext);
format(file,sizeof(file),"Business/%i.ini",cpid[playerid]);
GetPlayerName(playerid,Name,sizeof(Name));
dini_Set(file, "Owner",inputtext);
SaveNameChanges(playerid);
LoadAccount(playerid);
new ename[MAX_PLAYER_NAME];
GetPlayerName(playerid,ename,sizeof(ename));
AHouseData[HouseID][Owner] = ename;
Re: Help! -
RyanPetersons - 17.09.2012
Pleaze, reply RL Gaming.