Jump to content

Rules


yoya99

Recommended Posts

Posted

hey i have this rules resource and i want that when a player join his rules are shown automatically..and when he logins or he plays as a guest his rules are disappearing...

CODE REMOVED BY Solidsnake14

And the snail starts to sing

Posted

Post the "strings" table.

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Posted

CODE REMOVED BY Solidsnake14

- New , Kill System

- New, GameMode Intro

- Leve / Exp System

- New nametag showing style

- New , Hud For Players

- Skin Selection from SA-MP

- Money System / Buy Weapons

- Drop Weapons

- New, Flood System

- New , Group Assign

- Gun license For Weapons

- Random Rule System For Money

Posted
CODE REMOVED BY Solidsnake14

Please stop, you don't actually know proper scripting.

when dealing with dx, you have to use render events.

this is how it should be.

CODE REMOVED BY Solidsnake14

Ingame Name: Arnold

If you need my help, contact me on Skype @bshr.ara

NOTE:DO NOT ASK ME FOR SCRIPTS, ASK ME FOR HELP

Posted

Yeah , Sorry i forgot, dx have to be only Render events

non of us are perfect :D

- New , Kill System

- New, GameMode Intro

- Leve / Exp System

- New nametag showing style

- New , Hud For Players

- Skin Selection from SA-MP

- Money System / Buy Weapons

- Drop Weapons

- New, Flood System

- New , Group Assign

- Gun license For Weapons

- Random Rule System For Money

Posted

It's not actually about being perfect, i noticed from your posts, you're making horrible mistakes, please learn more scripting, i believe within a month or two you will be able to help people.

Ingame Name: Arnold

If you need my help, contact me on Skype @bshr.ara

NOTE:DO NOT ASK ME FOR SCRIPTS, ASK ME FOR HELP

Posted
It's not actually about being perfect, i noticed from your posts, you're making horrible mistakes, please learn more scripting, i believe within a month or two you will be able to help people.

Ok , Thank's for the advise

- New , Kill System

- New, GameMode Intro

- Leve / Exp System

- New nametag showing style

- New , Hud For Players

- Skin Selection from SA-MP

- Money System / Buy Weapons

- Drop Weapons

- New, Flood System

- New , Group Assign

- Gun license For Weapons

- Random Rule System For Money

Posted

Theres no event for that clientsided so use triggerClientEvent...

Something like this:

--Server 
addEventHandler("onPlayerLogin", root, 
    function () 
        triggerClientEvent(source, "onClientPlayerLogin", root) 
    end 
) 
  
--Client 
addEvent("onClientPlayerLogin", true) 
addEventHandler("onClientPlayerLogin", root, 
    function () 
        removeEventHandler("onClientRender", root, showRules) 
    end 
) 

Should work

Lua Scripter

?ucet=miki_cz

Owner of mshost.cz MTA portal.

Posted
--Server 
addEventHandler("onPlayerLogin", root, 
    function () 
        triggerClientEvent(source, "onClientPlayerLogin", root) 
    end 
) 
  
--Client 
addEvent("onClientPlayerLogin", true) 
addEventHandler("onClientPlayerLogin", root, 
    function () 
        removeEventHandler("onClientRender", root, showRules) 
        shown = false 
    end 
) 

Ingame Name: Arnold

If you need my help, contact me on Skype @bshr.ara

NOTE:DO NOT ASK ME FOR SCRIPTS, ASK ME FOR HELP

Posted

No , you can see , --Server

put in serverSide script ,

--Client

put in ClientSide script ,

check meta.xml to know witch script is client and server

- New , Kill System

- New, GameMode Intro

- Leve / Exp System

- New nametag showing style

- New , Hud For Players

- Skin Selection from SA-MP

- Money System / Buy Weapons

- Drop Weapons

- New, Flood System

- New , Group Assign

- Gun license For Weapons

- Random Rule System For Money

Posted

He can always hide it by pressing f3, but anyway, you can do it using an export, i cant tell you how now since i'm on phone, but read this wiki page:

  
call 
  

Ingame Name: Arnold

If you need my help, contact me on Skype @bshr.ara

NOTE:DO NOT ASK ME FOR SCRIPTS, ASK ME FOR HELP

Posted
May I know what my rules script is doing here?

A moderator should lock this topic

If you're looking for a cheap paid scripter, don't hesitate to contact me.

Great minds discuss ideas, Average minds discuss events and small minds discuss people.

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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