[Tutorial] ZCMD:how to make a teleport command (x,y,z)
#10

Quote:
Originally Posted by Konstantinos
View Post
- The tag is "Float:" not "float" - that would give warning about tag mismatch.
- The max length for a client message is 144 so using 256 goes waste.
- Coordinates are floating point numbers, so use the placeholder "%f" instead of "%d" which is for integers. If you don't want to display the demical places, then use "%.0f" instead.
edited and fixed ty.
Quote:
Originally Posted by JuanStone
View Post
PHP Code:
warning 213tag mismatch
warning 213
tag mismatch
warning 213
tag mismatch 
pawn Code:
new Float:x, Float:y, Float:z;

new string[ 128 ]; // Maximum characters per line
Fixed it already, ty for telling.
Quote:
Originally Posted by NaClchemistryK
View Post
Making a tutorial of how to teleport to a certain player or location would be more logical, cause you won't be remembering all xyz coordinates for the certain locations. And you need to explain more about sscanf and what hte logic behind your code is. But you probably made a x y z tutorial cause you probably thought htere are too many tutorials about teleporting to players or locs...
Well I just wanted a new thing.
Quote:
Originally Posted by Roddan
View Post
Can you add with interior to?
I added it Roddan.
Quote:
Originally Posted by satafinix
View Post
Nothing, Good Job
Ty dude
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)