View Single Post
  #1  
Old 01-30-2011, 07:57 AM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Red face add a flag after button pressed

Hey guys, Iīm trying to make a GUI button which will add a flag to a player, after its pressed. The button is no problem, but the part of adding a button wont work.
This is how far I got:
PHP Code:
//#CLIENTSIDE
function onCreated() {
new 
GuiButtonCtrl(FShop_Purchase) {
//Here is all the GUI stuff
}
function 
FShop_Purchase.onAction() {
clientr.test+=1;

I checked my flags but I couldnīt find anything.
Reply With Quote