The actionclientside action only works for weapon npcs.
NPC Code:
Code of weapon: "Bank"
if (actionserverside) {
if (strequals(#p(0),deposit)) {
if (strtofloat(#s(clientr.money))>=strtofloat(#p(1)) {
setstring clientr.money,#v(strtofloat(#s(clientr.money))-strtofloat(#p(1)));
playerrupees+=strtofloat(#p(1));
triggeraction 0,0,clientside,Bank,done;
}
}
}
//#CLIENTSIDE
if (weaponfired) {
tokenize #c;
triggeraction 0,0,serverside,#t(0),#t(1);
}
if (actionclientside) {
if (strequals(#p(0),done)) {
showtext -1,playerx+1.5,playery-.5,,Arial,bc,Done!;
changeimgzoom -1,0.7;
}
}
dunno if that works, just did it in the reply box
