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.
