
08-28-2009, 02:12 AM
|
|
Will work for food. Maybe
|
 |
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
|
|
|
Debug that motha'!
Start putting player.chat = "test" or something in various places to find out where the script is losing its purpose.
Also, it should just be:
function onKeyPressed() {
if (keydown(6)) {
}
}
Otherwise you're basically defining(or trying to) 6 as a variable for the first parameter of the keypressed function, which may be screwing things up.
Also, temp.warp is not a very descriptive variable name as it's actually referring to a player, so should be something more reflective... at least something like temp.p or such. |
|
|
|