Jump to content
  • 0

Freebies giver


Mootie

Question


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  815
  • Reputation:   86
  • Joined:  10/26/12
  • Last Seen:  

hi guys i like to ask how i can make this script to identify the player if its male or female.

zhakastia,85,57,6	script	Freebies Giver	790,{
if( !Freebies ){
set Freebies,1;
mes "Welcome...this is your gift...";
getitem 31111,1;
getitem 31112,1;
getitem 31113,1;
getitem 31114,1;

}else{
mes "You have claim the Reward already this.";
}
close;


OnInit:
waitingroom "Get your freebies here!!!",0;
end;
}

should i use this

if( !#Claimed ){
if( Sex ){
	dispbottom "BOY";
	getitem 607,1;
}else{
	dispbottom "Girl";
	getitem 608,1;
}
set #Claimed,1;
}

and put anywhere in the script?

Edited by Mootie
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   253
  • Joined:  11/11/11
  • Last Seen:  

Why would you wanna put it anywhere? The function is giving items to either a Boy or Girl and at the top of your script, you have a list of getitems. Look at your script and try to figure out where you think it would make sense to be placed :P.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  815
  • Reputation:   86
  • Joined:  10/26/12
  • Last Seen:  

yeah figure it out lol i messed up with this....

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...