Thread: gui windows x_X
View Single Post
  #16  
Old 03-18-2006, 11:13 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
It's not an excellent idea using the object "player", since that is already reserved for the current player.
PHP Code:
if(params[0]==jail
  { 
... also won't work because jail should be "jail" with it being a string value.
PHP Code:
#c= 
... isn't really good practice, you should be using player.chat =.
PHP Code:
setlevel2 jail_darkrival2.nw,30,30
... should be:
PHP Code:
setlevel2("jail_darkrival2.nw"3030); 
to be new engine scripting. The same applies for savelog2() and such.

Most of what's there is a mix of old gscript and new gscript, so you should iron those kinks out and work purely in new gscript.
__________________
Skyld
Reply With Quote