Pawno Text Changer?
#6

Here is the code in PHP
Код:
<?php
$filename = "file.txt";
$lines = file($filename);
$template = "CreateHouse("; //lame way of doing it
foreach ($lines as $line_num => $line)
{
	$blah = split(",",$line); //if you plan on using this in php v6(upcoming release) this function is removed..
	$template = $template."".$blah[3].",".$blah[4].",".$blah[5].",".$blah[0].",".$blah[1].",".$blah[2].");<br>";
}
echo $template;
?>

//eg. AH(x,y,z,intx,inty,intz); to AddHouse(intx,inty,intz,x,y,z,);
That will switch the x,y,z params from the front of the cmd to the back using the converter. To add more params is quite easy, just follow what Ive done and add it it. you may need to think a bit when switching the params because it might become confusing.

To convert:
save the code above the convert.php
in the same directory, put all of the AH in file.txt
go to localhost/convert.php and that is your code.

Have fun!
Reply


Messages In This Thread
Pawno Text Changer? - by Kevin_Joshen - 17.08.2010, 05:40
Re: Pawno Text Changer? - by [L3th4l] - 17.08.2010, 05:53
Re: Pawno Text Changer? - by Kevin_Joshen - 17.08.2010, 05:56
Re: Pawno Text Changer? - by lolumadd - 17.08.2010, 05:58
Re: Pawno Text Changer? - by Kevin_Joshen - 17.08.2010, 05:59
Re: Pawno Text Changer? - by lolumadd - 17.08.2010, 06:10
Re: Pawno Text Changer? - by wups - 17.08.2010, 08:05
Re: Pawno Text Changer? - by ikey07 - 17.08.2010, 08:36

Forum Jump:


Users browsing this thread: 1 Guest(s)