Can anyone help me? I can do the client side just fine, But when i try on the Server side i make this change, and when i try restart the script via the server console it says error restarting resource… What am i doing wrong?
randomMsg = RandomMsg()
--TriggerClientEvent("ls:sendNotification", source, notificationParam, randomMsg, 0.5)
TriggerClientEvent("pNotify:SendNotification", source,{
text = "Notification: <br /> You found the keys on the floor.",
type = "success",
timeout = (1000),
layout = "centerRight",
queue = "global"
})
table.insert(vehStorage, {plate=plate, owner=playerIdentifier, lockStatus=0, id=vehicleId})
end
end
[EDIT] Never mind im an idiot! xD