kevin11 Posted June 15, 2010 Posted June 15, 2010 i want that the message just shows to the player with skin 162 but its not working and no errors function delayedChat ( text ) local skin = getPlayerSkin ( player ) if skin == 162 then outputChatBox ( "" .. text ) end setTimer ( delayedChat, 1, 1, "welcome!" ) end
50p Posted June 16, 2010 Posted June 16, 2010 Why it doesn't work? Be more precise. You can't set timer with 1ms interval. You need player element for outputChaBox to send message only to that player. What is player in your function? You MUST learn about function parameters/arguments and types of them. - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
dzek (varez) Posted June 16, 2010 Posted June 16, 2010 startover with lua learning.. check wiki and robhol's guide Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now