[CODE]function meta:DeleteBankAccount()
self:SetNWInt("bankaccountcash",0)
self:ChatPrint("Bank account deleted!")
self:SetPData("bankaccountcash",0)
end
function meta:CreateBankAccount()
if self:GetPData("bankaccountcash") == 0 then
self:SetNWInt("bankaccountcash",500)
self:SetPData("bankaccountcash",500)
self:ChatPrint("Bank account created!")
else
self:ChatPrint("You already have an account!")
end
end
[/CODE]
Even though it gets set to 0. It still returns the ChatPrint. Any help?
GetPData returns a string
Oh. Dang it. Whoops! Wasn't paying attention. Brb
[editline]21st January 2016[/editline]
Thanks mate. I totally forgot about that.
Sorry, you need to Log In to post a reply to this thread.