Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-11-2012, 01:05 AM
Bleachlover551 Bleachlover551 is offline
Soul Reaper
Bleachlover551's Avatar
Join Date: Jul 2012
Location: Brunswick
Posts: 34
Bleachlover551 is an unknown quantity at this point
Smile Voting Script [Help]

Okay so im completelly lost here i need this to be for every player.
like players can only vote once per day.

Script:
PHP Code:
function onPlayerchats() {
  if (
player.chat == "/yes") {
      
player.chat "Fp4:Yes!";
      
server.votes += 1;
      
updateChat();
}
}
function 
updateChat() {
  
this.chat "Votes: " server.votes;

I know im not that good at stuff like this lol but if u can help me out. i would love you forever
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.