Jump to content

iPrestege

Members
  • Posts

    10,056
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by iPrestege

  1. # محترفين جراند؟ يقولون هتلر العنزي ( = سآحب بآك آب #
  2. -- Client -- addEventHandler("onClientGUIClick",GUIEditor.button[1], function () triggerServerEvent("onAskToSetTeamAndSkin",localPlayer); end ); -- Server -- local team = createTeam ( "TEAM NAME",r,g,b ); addEvent("onAskToSetTeamAndSkin",true); addEventHandler("onAskToSetTeamAndSkin",root, function () spawnPlayer(source,x,y,z,0,SKIN,0,0,team); end ); Replace : r,g,b = teamColor x,y,z = you're position to spawn player on it SKIN = Skin Id and the spawnPlayer Funtion will setPlayerTeam On The Team Try it .
  3. Use this function's : triggerServerEvent createTeam setPlayerTeam setElementModel
  4. Why you can't do you add any function make player's can't kill ped?or cancelEvent as will? or what the problem? any error?
  5. player is not defined.
  6. طيب الشخص يكذب يعني؟؟ أي كذآب ( = سكربتاتي بآك آب رومي مآخذينةة وتقول ثقة ؟
  7. iPrestege

    need help

    Since you think it's impossible then you have no business here. Yes why? becuase his code make no sense in Lua PG.
  8. iPrestege

    help!

    اطرح اللوحة #
  9. iPrestege

    help!

    أعذرني بـس الاكواد تعبانين عليها و الاحداثيات فـ صعبه أنزل سكربت الانفو بـدون تشفير ذذ
  10. iPrestege

    help!

    أقدر أعدلة لك وأرفعه ثأنية بس أنت كم تبأهـ؟
  11. iPrestege

    help!

    بـ النسبة للانفو بوكسس ماتقدرلآني مشفرهـ ذذ
  12. GUIEditor = { button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(205, 151, 406, 323, "Spawner By Gangsta", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(25, 55, 145, 58, "Spawn In Los Santos", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(236, 55, 161, 60, "Spawn In San Fransisco", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(138, 179, 149, 103, "Spawn in LV", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(15, 178, 50, 25, "Quit", false, GUIEditor.window[1]) addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[1] ) then triggerServerEvent("Spawn[1]",localPlayer) elseif ( source == GUIEditor.button[2] ) then triggerServerEvent("Spawn[2]",localPlayer) elseif ( source == GUIEditor.button[3] ) then triggerServerEvent("Spawn[3]",localPlayer) elseif ( source == GUIEditor.button[4] ) then guiSetVisible(GUIEditor.window[1],false) showCursor ( true ) end end ) Try it.
  13. Do not make your resources down in the device files only and will not one of stolen.
  14. Should work but the State it's not good i mean "crouch" try another one and it will work ( ; .
  15. -- Client -- GUIEditor = { button = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(205, 151, 406, 323, "Spawner By Gangsta", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(25, 55, 145, 58, "Spawn In Los Santos", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(236, 55, 161, 60, "Spawn In San Fransisco", false, GUIEditor.window[1]) GUIEditor.button[3] = guiCreateButton(138, 179, 149, 103, "Spawn in LV", false, GUIEditor.window[1]) addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[1] ) then triggerServerEvent("Spawn[1]",localPlayer) elseif ( source == GUIEditor.button[2] ) then triggerServerEvent("Spawn[2]",localPlayer) elseif ( source == GUIEditor.button[3] ) then triggerServerEvent("Spawn[3]",localPlayer) end end ) -- Server -- addEvent("Spawn[1]",true) addEventHandler("Spawn[1]",root, function () spawnPlayer(source,x,y,z) end ) addEvent("Spawn[2]",true) addEventHandler("Spawn[2]",root, function () spawnPlayer(source,x,y,z) end ) addEvent("Spawn[3]",true) addEventHandler("Spawn[3]",root, function () spawnPlayer(source,x,y,z) end ) Replace : x,y,z = you're position for : Spawn[1] = GUIEditor.button[1] Spawn[2] = GUIEditor.button[2] Spawn[3] = GUIEditor.button[3] Try it.
  16. Yes And Create New File Server Side .
  17. ينفك ( = بسيط الفك حقه ههه
  18. You Can Use This Functions And Event's : Event's : onMarkerHit onMarkerLeave Function's : createObject moveObject
  19. floating point number representing the radius that will be eliminated.
  20. bool removeWorldModel ( int modelID, float radius, float x, float y, float z [, int interior = 0 ] ) Required Arguments modelID: A whole integer specifying the GTASA object model ID. radius: A floating point number representing the radius that will be eliminated. x: A floating point number representing the X coordinate on the map. y: A floating point number representing the Y coordinate on the map. z: A floating point number representing the Z coordinate on the map. You forget modelID And radius .
×
×
  • Create New...