How does open file work.
#1

I am familiar with the Open File, read file, And write file in C++ not in this language, could someone explain just with maby a simple example like for Example a freeze commands, it would be


new playerlist[]

OnConnect()
{

playerlist[playername]

fopen(Players.txt) /// There would be like a number in their somewhere be like a 9, and it would stand for Frozen JOB name bankcash cash adminfreeze
if(playerguid == 9) /// Frozen
{
code
}

Then it would be like frozen, but how would it move over and check the numbers and how would it open the file?




Reply
#2

https://sampwiki.blast.hk/wiki/Scripting...ions_Old#fopen
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)