Jump to content

Aboodealtikrity

Members
  • Posts

    39
  • Joined

  • Last visited

Everything posted by Aboodealtikrity

  1. i tried it when i used it all the Triggers in the resource stopped ?
  2. Oh i must equal the underscore with the dot ? and use dot ??
  3. So what can i put inside the table
  4. This is in server side when The Player Login exports['CORchar']:hide.hideGUI(source) Meta table function="hideGUI" type="client" /> Client Side in other File hide={} function hide.hideGUI() showCursor(false) guiSetInputEnabled(false) showChat(true) hidewindow() end debugscript ERROR:CORlogin\CORlogin.lua 210: call: field to call 'CORchar:hideGUI' [string "?"] Im not sure if i did it in the Right way Note : im new and i search in old Resources and learn from it
  5. thanks my friend i will try this too ...
  6. Good and thank you i tried to Make destroying for IDLE vehicles but if someone new enter the server and Buy if vehicle for e.g if i use this command it will destroy i want just for old car..!!
  7. i know this in generally but in my server doesnt destroy ?
  8. Thanks but i tried its still for one days lool i think there is problem @Jaysds1
  9. yes sure i have but i think i have many Wrong in this
  10. Have A nice Day my friends i wish if some one say to me if the player quit from the job what is the function to back the player to his original skin ?? And this is From Releases Resources not Leaked i used this command but there are wrong Field to call mysql:escape_string [string"?"] function quit( p, f) if ( player and isElement ( p) and getElementType ( p) == 'p' ) then if ( f== nil ) then f= true end local data = mysql:escape_string("SELECT * FROM characters WHERE skin='" .. mysql:escape_string(skin) .. "' AND account='" .. mysql:escape_string(id) .. "' AND cked = 0") local job= getElementData ( p, "Job" ) local rank = getElementData ( p, "Job Rank" ) setElementData ( p, "Job", "civilian" ) if ( isPedInVehicle ( p) ) then removePedFromVehicle ( p) end local skin = tonumber ( getElementData ( p, "User.CivilianSkin" ) ) if ( not skin ) then setElementData ( p, "User.CivilianSkin",data) end triggerClientEvent ( p, "onPlayerResign", player, job, rank, data) local skin = tonumber(data["skin"]) setPedSkin(source, skin) end end i know its bad because im new thank you
  11. greetings ..excuse me my friends the cars doesnt remove from the server it staying whats the resource or command for delete it constantly ?
  12. I Fix some bugs and i still working on it dont worry its easy bugs and thank you for this its good
  13. DELETE PLEASE SOLVED
×
×
  • Create New...