Jump to content

طلب كود


Recommended Posts

[-X[-X[-X

^^

Client :

addEventHandler("onClientGUIClick",button, function () 
triggerServerEvent("onTeamSpawn",localPlayer) 
end) 
  

Server :

addEvent("onTeamSpawn",true) 
addEventHandler("onTeamSpawn",root, function () 
local team = getPlayerTeam (source) 
if ( team and getTeamName (team) == ("TEAM")) then 
spawnPlayer(source,x,y,z) 
              end 
end 
) 
Link to comment
addEventHandler("onClientGUIClick", root, 
function() 
if ( getPlayerTeam == getTeamFromName ( "name" ) ) then 
spawnPlayer ( player, x, y, z, r, skin ) 
    end 
end) 
  

^ Wrong -_-" !

====================

Event: "onClientGUIClick" 
createPed 
getElementModel 
setElementModel 
triggerServerEvent 
spawnPlayer 

Link to comment
ped = createPed (id,x,y,z) 

يسوي شخص في مكان محدد #,

طيب يعني اضع البيد في مكان

او بعدين

استخدم فكشن من الكيمره

يخلي الكيمره على البيد

وهو يرقص؟

Link to comment

keyState: A string that has one of the following values: -- حالة التبنيد ذذ

"up": If the bound key should trigger the function when the key is released -- يوم يرفع

"down": If the bound key should trigger the function when the key is pressed -- يوم يضغط

"both": If the bound key should trigger the function when the key is pressed or released -- كل الثنين

:wink:

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...