05.04.2009, 09:59
1) There is no error in this code but when the player connects it says something like:
Welcome
|
2) How do i change this so the file that is created will be a .TXT in a seperate folder within scriptfiles
I have tried PlayerName.txt but then it just shows errors.
eg, /scriptfiles/users/<PlyaerName>.txt
Welcome
|
Код:
new Name[MAX_PLAYER_NAME]; new WelcSTR[56]; format(WelcSTR, sizeof(WelcSTR), "~y~Welcome ~n~~w~%s", Name); GameTextForPlayer(playerid,WelcSTR,5000,1);
Код:
if (!dini_Exists(udb_encode(PlayerName))) { dini_Create(udb_encode(PlayerName));
eg, /scriptfiles/users/<PlyaerName>.txt