chrisaub Posted March 2, 2009 Author Share Posted March 2, 2009 it wont work for my birthday event il show you scriptase 1Call PlayerMsg(index, "I am Chris, Bring Me yellow gifts for Voyage Points?", 12)If CanTake(Index, 4, 1) = false Then Call PlayerMsg(index, "Please get me a gift its my birthday!", 12)Else Call TakeItem(index, 4, 1) Call GiveItem(index, 6, 25) Call PlayerMsg(index, "Thanks heres what ever was in it you can keep it", 12)End IfExit Sub* i didnt know how to use code box thingy*and when i go to server control panel scripts off when i turn it on it all goes off and wont come back on untill i put it off again i think error is 306 Link to comment Share on other sites More sharing options...
Fruitpunch Posted March 2, 2009 Share Posted March 2, 2009 you missed the C on Case 1also for box code its``` and ```without the spaces Link to comment Share on other sites More sharing options...
chrisaub Posted March 2, 2009 Author Share Posted March 2, 2009 I have c on code but i jsut didnt copy and paste it all but still wont work Link to comment Share on other sites More sharing options...
Fruitpunch Posted March 2, 2009 Share Posted March 2, 2009 did you install godlord's inventory script? Link to comment Share on other sites More sharing options...
chrisaub Posted March 2, 2009 Author Share Posted March 2, 2009 yes its on bott om of main and i did choice 1 do i need to do 2 if i got 2.7 or higher? Link to comment Share on other sites More sharing options...
Fruitpunch Posted March 2, 2009 Share Posted March 2, 2009 you said you have error 306 is it a runtime error? There is a section for RTE's and it has all the fixes Link to comment Share on other sites More sharing options...
chrisaub Posted March 2, 2009 Author Share Posted March 2, 2009 runtime error 380 not 306 sorry for misinformation Link to comment Share on other sites More sharing options...
chrisaub Posted March 2, 2009 Author Share Posted March 2, 2009 and 91 Link to comment Share on other sites More sharing options...
Fruitpunch Posted March 2, 2009 Share Posted March 2, 2009 still check the RTE's section for fixes Link to comment Share on other sites More sharing options...
chrisaub Posted March 2, 2009 Author Share Posted March 2, 2009 Okay i will do that, thanks Link to comment Share on other sites More sharing options...
Nubbs Posted March 2, 2009 Share Posted March 2, 2009 he minimized the Script editor i know those errors by heart lol Link to comment Share on other sites More sharing options...
chrisaub Posted March 2, 2009 Author Share Posted March 2, 2009 anyway to fix it because i dont get what your getting at Link to comment Share on other sites More sharing options...
Nubbs Posted March 2, 2009 Share Posted March 2, 2009 just dont minimize the script editor save and close it when you're doneok post your main.txt from scripted npc to the end and ill see if you did anything wrong…..... make sure you use the [quote… /quote] so it doesnt make a huge post ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now