Quote:
Originally Posted by iCoke
So would it be like this?
Script:
PHP Code:
function onActionserverside(){
//add the weapon
}
//#CLIENTSIDE
function onPlayerchats(){
if (player.chat == "/open"){
if (!("-Bank/Account" in player.weapons)){
say2("You already have a bank account");
}
else{
say2("You have opened a bank account!");
//// This is my clientside part of the script.
//#CLIENTSIDE
function onCreated() {
this.myatm = "myatm.png";
triggerserver("png", this.name, "myatm.png", this.myatm);
}
}
}
|
maybe you should start with more basic stuff