Skip to content

Instantly share code, notes, and snippets.

View Fernando-A-Rocha's full-sized avatar
🖥️
Working from home

Fernando Rocha Fernando-A-Rocha

🖥️
Working from home
View GitHub Profile
@Fernando-A-Rocha
Fernando-A-Rocha / GUIDE.md
Last active November 7, 2024 08:51
Beginner's Guide to Playing Multi Theft Auto: San Andreas

Multi Theft Auto: San Andreas - Beginner's Guide

Welcome to a simplified MTA beginner's guide where you can find information on how to install the mod and start playing!

What is MTA?

Multi Theft Auto: San Andreas (MTA:SA) is a multiplayer mod ("modification") for the Microsoft Windows version of Rockstar North's Grand Theft Auto: San Andreas that adds an otherwise absent online multiplayer component.

image

@Noble-Mushtak
Noble-Mushtak / Calculator.lua
Last active April 8, 2024 16:56
Simple Calculator for Lua
function characterPresent(stringParam, character)
--[[
This function returns true if and only if character is in stringParam.
]]--
--Loop through stringParam:
for i=1, #stringParam do
--If the current character is character, return true.
if stringParam:sub(i, i) == character then return true end
end
--If we go through the whole string without returning true, we get to this point.