No you can use command or anything else there's no need to make a gui and add the account and get the player serial then use table.insert function as far as i know.
اتوقع هو مسوية بـ SQLLite
اذا مو مشفر تقدر تجيب القاعده وترمي الجدول "تحذف الجدول" كامل بالقروبات كلها اعتقد كذا تبيه .
executeSQLQuery
كما أتوقع مسوية SQLLite
مو اكيد!
vehicle = { }
addCommandHandler ( 'ccv',
function ( player )
if vehicle [ player ] and isElement ( vehicle [ player ] ) then
destroyElement ( vehicle [ player ] )
end
local x,y,z = getElementPosition ( player )
vehicle [ player ] = createVehicle ( x,y,z,411 )
end
)
This is an simple example.
Draws a string of text on the screen for one frame. In order for the text to stay visible continuously, you need to call this function with the same parameters on each frame update (see onClientRender).
Yep that's right because 'setPlayerTeam' Function you can't set the player in team using string like that.
Get the team from the team name then set the player to the team.
setPlayerTeam ( client,getTeamFromName ( 'Staff' ) )
تحقق اولاً انة بالقروب اللي تبية يفتح :
isObjectInACLGroup
getAccountName
getPlayerAccount
ثم
سوي كوماند يتحقق انة الباس صح :
addCommandHandler
اذا كان صح وبالقروب يسوي ترايقر :
triggerClientEvent
ثم تأكد انك تكون مقفل الـ ACL With :
guiSetEnabled -- استخدمها عشان تفتحة يوم يستقبل الترايقر
وبكذآ يكون تم .. لا تنسى المتغيرات لـ تعيين الكلمة !
He wants to do this:
Yeah, I would first try with shaders (but I'm a perfect noobs with shaders) because I think it's possible.
Otherwise I would use an invisible ped to do it. He will just press the forward button and freeze the car element.
But if you use a ped, then the car owner will probably do the carjack animation (even if you destroy the ped in the event onPlayerVehicleEnter, idk give it a try)
Also, if another crazy driver hit the car (which is frozen) the car won't go anywhere, so it's not really realistic.
If you want to add an youtube video just put the video 'code' Which is :
aFt3ZcCdyik