Morrison
Intermediate OT User
i need script Remove storagevalue on login here my script
the tfs.exe send me
the tfs.exe send me
Code:
error RemovePlayerStorageValue a nil value
Code:
local t = {
Mission = 8002,
Vip = 8001
}
function onLogin(cid)
if getPlayerStorageValue(cid, t.Mission) == 1 then
RemovePlayerStorageValue(cid, t.Mission)
if getPlayerStorageValue(cid, t.Vip) == 1 then
RemovePlayerStorageValue(cid, t.Vip)
end
end
return true
end