A difficult CMD with 8 parametres???
#1

I want to make a cmd like /addteleport which i will type
/addteleport x y z interiorX interiorY interiorZ description interiorid
and after that it will add a line on my file called teleports.cfg
like that
1836.1278|-1682.9248|13.3609|493.7652|-24.4901|1000.6797|~y~Alhambra|17

Can anyone help me to make that cmd?
I know that the basic code is something like, but what about all of my parameters?
pawn Код:
new File:hFile;
hFile = fopen("/files/teleports.cfg", io_append);
fwrite(hFile, string);
fclose(hFile);
Reply


Messages In This Thread
A difficult CMD with 8 parametres??? - by Dark_Kostas - 24.04.2009, 13:46
Re: A difficult CMD with 8 parametres??? - by Dark_Kostas - 24.04.2009, 17:08
Re: A difficult CMD with 8 parametres??? - by Weirdosport - 24.04.2009, 17:13

Forum Jump:


Users browsing this thread: 1 Guest(s)