SA-MP Forums Archive
SaveTeleports - Doesn't save VirtualWorld - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SaveTeleports - Doesn't save VirtualWorld (/showthread.php?tid=79855)



SaveTeleports - Doesn't save VirtualWorld - Castle - 31.05.2009

the CMDS: http://pastebin.com/m623ca9af
The Save Callback: http://pastebin.com/m5e1c8455
I tried to figure out teh reason for the problem but I can't find the problem this is the only variable that isn't saved


Re: SaveTeleports - Doesn't save VirtualWorld - yezizhu - 31.05.2009

I've looked ur code...
Maybe this is the problem
pawn Код:
/**
 In function SaveTeleports(),the mixture between Teleport[idx][tpenWorld] and Teleport[idx][tpexWorld]
*/
This uncareful mistake often happens ,isnt it?^^


Re: SaveTeleports - Doesn't save VirtualWorld - Castle - 01.06.2009

Still I rewrote the whole system, now when I do:
/tp enter 0
does:
You have set new Enter Location
SERVER: Unknown Command
even with /tp exit 0 does the same
also the Worlds are now like this:
Teleport[idx][tEnterWorld] & Teleport[idx][tExitWorld]


Re: SaveTeleports - Doesn't save VirtualWorld - yezizhu - 01.06.2009

code..please^^
I cant catch the error by ur description,so I need more info.


Re: SaveTeleports - Doesn't save VirtualWorld - Castle - 01.06.2009

Heres the Save & Load Pastebin: http://pastebin.com/m2ef22ef8
Heres the Command: http://pastebin.com/m63ed3cc3
/tp enter & /tp exit shows me the SERVER: Unknown cmd after I use them
Also /tp desc makes my server crash when I use it...

Edit: Also every time I use one of the commands to set enter or exit location it seems to add extra lines in the file instead using the already made ones