Teleporting system
#3

Quote:
Originally Posted by DarkSkull
Посмотреть сообщение
PHP код:
if(sscanf(params"s[128]i"paramsidxtext)) return SendClientMessage(playeriderror"Usage: /dedit interior [doorid]"); 
The sscanf error comes due to this line. You have specified two specifiers, but three parameters.

Change it to this:
this is the sscanf in the interior part of the code.
EDIT: UPDATED THE CODE TO SUPPORT 2 Parameters.
PHP код:
if(sscanf(params"s[128]i"paramsidx)) return SendClientMessage(playeriderror"Usage: /dedit interior [doorid]"); 
As for the 3D label, I don't see you updating the 3d text label in the interior part of the code.
Ok thanks for the sscanf fix, but now let me try to explain a bit more with some diagrams....


this is how it looks when i create first create the tp... the blue arrow indicates the frist created tp(exterior) and the red arrow indicates the last tp created(interior).


Now when i try to edit the name cause i want both tps to have the same name now when i try to change the name only the last tp name changes and the first tp name doesnt update..
Reply


Messages In This Thread
Teleporting system - by 1fret - 15.04.2017, 00:02
Re: Teleporting system - by DarkSkull - 15.04.2017, 00:05
Re: Teleporting system - by 1fret - 15.04.2017, 00:28
Re: Teleporting system - by DarkSkull - 15.04.2017, 00:38
Re: Teleporting system - by 1fret - 15.04.2017, 00:39
Re: Teleporting system - by DarkSkull - 15.04.2017, 00:50
Re: Teleporting system - by 1fret - 15.04.2017, 01:02
Re: Teleporting system - by DarkSkull - 15.04.2017, 01:22
Re: Teleporting system - by 1fret - 15.04.2017, 01:31

Forum Jump:


Users browsing this thread: 3 Guest(s)