Help with admin
#1

It's not showing in scriptfiles.like dis Admin [level number]
Код:
format(file,sizeof(file),"scriptfiles/Users/%s.txt",n);
Reply
#2

not enough info shown!

Like is the file properly closed after being wrighten ?

Also is the string variable called "n" ?

Also the format should be like this
pawn Код:
new pNamer[MAX_PLAYER_NAME];GetPlayerName(playerid,pNamer,sizeof pNamer);
format(file,sizeof(file),"/Users/%s.txt",pNamer);//this will get the "playerid"'s name
Reply
#3

i got it from here:
https://sampforum.blast.hk/showthread.php?tid=174575

But it not showing
scriptfiles in there.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)