Two Small Problems
#1

1) There is no error in this code but when the player connects it says something like:

Welcome
|

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


Messages In This Thread
Two Small Problems - by Alec24 - 05.04.2009, 09:59
Re: Two Small Problems - by Torekk - 05.04.2009, 10:14
Re: Two Small Problems - by Alec24 - 05.04.2009, 10:19
Re: Two Small Problems - by LarzI - 05.04.2009, 12:01
Re: Two Small Problems - by Alec24 - 05.04.2009, 14:35
Re: Two Small Problems - by LarzI - 08.04.2009, 00:53
Re: Two Small Problems - by Alec24 - 09.04.2009, 11:42
Re: Two Small Problems - by Nero_3D - 09.04.2009, 12:05
Re: Two Small Problems - by Alec24 - 09.04.2009, 12:30
Re: Two Small Problems - by Nero_3D - 09.04.2009, 13:26

Forum Jump:


Users browsing this thread: 2 Guest(s)