RaceCars = {
"ايدي السيارة الاولى مثلا 432",
"ايدي السيارة الثانية"
}
addEventHandler('onPlayerChat',root,
function(msg)
if string.find(msg,'سباق') then
setElementPosition ( source, X, Y, Z )
local RaceVehicle = createVehicle ( RaceCars, x, y, z)
warpPedIntoVehicle ( source, RaceVehicle )
end
end
)
setElementPosition ( source, X, Y, Z )
-- بدل x الى الاحداثية تبعها و z و y
الكود كلاينت
كلاينت ؟؟؟
من جدك ؟
الكود سيرفر