You cant use this points = 0 like "trigger"
u defined "points" as value of storage, then if you wanna change it you must use setStorageValue
local function getPlayerGamePoints(cid)
local points = getPlayerStorageValue(cid, 102548)
if points == -1 then
setPlayerStorageValue(cid, 102548, 1)
end...