Thread: Voting Npc
View Single Post
  #4  
Old 07-30-2011, 07:38 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by Gunderak View Post
wow didnt realise there were so many problems with it :$
so id have to store it server side your saying?
thatd be handy then if the npc server goes, it keeps its value.
then i could do somthing like..
this.chat = "Votes: "@server.survey_votes;
how do i store things to the server instead of to the npc?
thanks for your feedback i really appriciate it.
thats the only way im gonna learn, by people telling me what im doing wrong xD
Just like any other variable.

server.survey_votes++;

You can view, and edit server variables on the server-side.
__________________
Quote:
Reply With Quote