Thread: Help me please
View Single Post
  #9  
Old 09-09-2012, 03:20 PM
iCoke iCoke is offline
Registered User
Join Date: Jun 2012
Posts: 5
iCoke is on a distinguished road
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);
}
    }
  } 

Last edited by iCoke; 09-09-2012 at 06:04 PM..
Reply With Quote