This guy doesn't even know what he has in his script..
Now I will post the code from the .pwn
/* Position Saver
*
*www.vcmpteam.tk
*/
public SavePlayerClass(playerid)
{
new string[128];
new Float:X, Float:Z, Float:Y, Float:Rotation;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, Rotation);
new File:pos=fopen("positions.txt", io_append);
format(string, 256, "AddPlayerClass(0, %f, %f, %f, %f, 0,0,0,0,0,0);", X, Y, Z,Rotation);
fwrite(pos, string);
fclose(pos);
}
public SavePlayerClassEx(playerid)
{
new string[128];
new Float:X, Float:Z, Float:Y, Float:Rotation;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, Rotation);
new File:pos=fopen("positions.txt", io_append);
format(string, 256, "AddPlayerClassEx(0, 0, %f, %f, %f, 0,0,0,0,0,0);", X, Y, Z, Rotation);
fwrite(pos, string);
fclose(pos);
}
public SavePickupPos(playerid)
{
new string[128];
new Float:X, Float:Z, Float:Y;
GetPlayerPos(playerid, X, Y, Z);
new File:pos=fopen("positions.txt", io_append);
format(string, 256, "AddStaticPickup(0, 0, %f, %f, %f);", X, Y, Z);
fwrite(pos, string);
fclose(pos);
}
public SaveStartPos(playerid)
{
new string[128];
new Float:X, Float:Z, Float:Y;
GetPlayerPos(playerid, X, Y, Z);
new File:pos=fopen("positions.txt", io_append);
format(string, 256, "SetPlayerStartPos(%f, %f, %f);", X, Y, Z);
fwrite(pos, string);
fclose(pos);
}
public SaveCameraPos(playerid)
{
new string[128];
new Float:X, Float:Z, Float:Y;
GetPlayerPos(playerid, X, Y, Z);
new File:pos=fopen("positions.txt", io_append);
format(string, 256, "SetCameraPos(%f, %f, %f);", X, Y, Z);
fwrite(pos, string);
fclose(pos);
}
public SaveCameraLookPos(playerid)
{
new string[128];
new Float:X, Float:Z, Float:Y;
GetPlayerPos(playerid, X, Y, Z);
new File:pos=fopen("positions.txt", io_append);
format(string, 256, "SetCameraLookAt(%f, %f, %f);", X, Y, Z);
fwrite(pos, string);
fclose(pos);
}
Now, if blains cannot see their supposed own script
public SavePlayerClass(playerid)
{
new string[128];
new Float:X, Float:Z, Float:Y, Float:Rotation;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, Rotation);
new File:pos=fopen("positions.txt", io_append);
format(string, 256, "AddPlayerClass(0, %f, %f, %f, %f, 0,0,0,0,0,0);", X, Y, Z,Rotation);
fwrite(pos, string);
fclose(pos);
}
public SavePlayerClassEx(playerid)
{
new string[128];
new Float:X, Float:Z, Float:Y, Float:Rotation;
GetPlayerPos(playerid, X, Y, Z);
GetPlayerFacingAngle(playerid, Rotation);
new File:pos=fopen("positions.txt", io_append);
format(string, 256, "AddPlayerClassEx(0, 0, %f, %f, %f, 0,0,0,0,0,0);", X, Y, Z, Rotation);
fwrite(pos, string);
fclose(pos);
}
angel, lol... Do you even know the difference between ang
le and ang
elyou.fail.sir
PS: I would change the fail signature, because I oftenly check my arguments before using them, unlike you.