-
Posts
905 -
Joined
-
Last visited
About TwiX!
- Birthday 21/05/1992
Details
-
Gang
Chuck Norris
-
Location
Russia
-
Occupation
Scripting [PHP/HTML/Mysql/Lua/Java Scripts/Web Design/3D modeling]
-
Interests
My girl ;)
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
TwiX!'s Achievements

Hoodsta (34/54)
0
Reputation
-
Check the first post
-
you will get warning,and if player will training, your stats will ***cked
-
I'm back! wait for new updates soon
-
Just learn LUA, don't be lazy
-
удали гавно 8
-
искать за тебя никто не будет, скрипт такой уже есть http://community.multitheftauto.com/
-
от 1000р
-
local CPc = cols[CP] local
-
function myCmd ( p ) if isGuestAccount ( getPlayerAccount ( p ) ) then return else local account = getPlayerAccount ( p ); local saveolskin = setAccountData ( account, "oldskin", tostring ( getElementModel ( p ) ) ); setElementModel ( p, 181 ); end end addCommandHandler ( "stJW", myCmd ) function MarkerHit( hitElement, matchingDimension ) if getElementType ( hitElement ) == "vehicle" then local veh = getPedOccupiedVehicle ( hitElement ) ; local occupant = getVehicleOccupant ( veh ); local account = getPlayerAccount ( hitElement ); local loadskin = getAccountData ( account, "oldskin" ); setElementModel ( occupant, tostring ( loadskin ) ); end end addEventHandler( "onMarkerHit", root, MarkerHit )
-
ffs / tg they made own functions like fileOpen fileRead Etc
-
-
@Memory function onResStart () executeSQLQuery ( "CREATE TABLE IF NOT EXISTS Points ( serial TEXT, points INTEGER DEFAULT 0 )" ); end addEventHandler ( "onResourceStart", getResourceRootElement ( getThisResource ( ) ), onResStart ) -------------------------------- function onJoin ( ) local serial = getPlayerSerial ( source ); local getPoints = executeSQLQuery ( "SELECT points FROM Points WHERE serial=?", serial ); if type ( getPoints ) == "table" and #getPoints > 0 and getPoints[1] and getPoints[1].points then setElementData ( source, "Points", tonumber ( getPoints[1].points ) ); else executeSQLQuery ( "INSERT INTO Points VALUES ( ?, ? )", serial, 0 ); setElementData ( source, "Points", 0 ); end end addEventHandler ( "onPlayerJoin", root, onJoin) ---------------------------------------- function onPlayerQuit ( ) local getActualPoints = tonumber ( getElementData ( source, "Points" ) ); local serial = getPlayerSerial ( source ); local sql = executeSQLQuery ( "SELECT points FROM Points WHERE serial=?", serial ); executeSQLQuery ( "UPDATE Points SET points=? WHERE serial=?", getActualPoints, serial ); end addEventHandler("onPlayerQuit", root, onPlayerQuit) @~Gangsta~ на обоих