View Single Post
  #38  
Old 06-19-2004, 08:18 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally Posted by falco10291029
Ok thaniks i thought that the list was very small since if i didnt put the //#CLIENTSIDE most scripts i made didnt work but thank you also one other thing, whats the command for if the person clicks with the left mouse? i thought it was if (leftmousebutton) but that never works
Like what ProjectShifter said, there are many ways to do things on scripting, your question is a proof of that, because you can do it like this:
NPC Code:

if(mousedown && leftmousebutton){
setplayerprop #c,You used the left mouse button!;
}



Or even like this:
NPC Code:

if(mousedown && strequals(#p(0),left)){
setplayerprop #c,You used the left mouse button!;
}



You just forgot to use mousedown.
I think you should start from basic stuff, it is not that hard but is not that easy too for beginners.
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /