Thread: Plane
View Single Post
  #6  
Old 10-14-2005, 08:46 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by excaliber7388
i scripted it quick, didn't feal like wasting time, ill format it now x_X anyway, suggestions for the reading and x y part of the warp?
Why would other people waste their time trying to help you, if you don't want to waste your time formatting it so they can read it?

anyway, for the x,y warping, you have to use strtofloat.

NPC Code:
setlevel2 #s(client.planelevel),strtofloat(#s(client.planex)  ),strtofloat(#s(client.planey));



Another thing, client. variables are very insecure, people will be able to abuse this script to make it warp them to wherever they want on your server.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote