Jump to content

Xeno

Members
  • Posts

    728
  • Joined

  • Last visited

Everything posted by Xeno

  1. function checkRank(player) local account = getPlayerAccount(player) if (account) then if (isGuestAccount(account)) then outputChatBox("hello") end This gives me a bad arguement at "getPlayerAccount".. Please help me, Thanks, Xeno.
  2. function greenzoneEnter ( element, matchingDimension, thePlayer, player) outputChatBox('#FF0000*ROAM: #FFFF00Login for your kills and stats to be saved', thePlayer, 255, 0, 0, true) local t = getElementType( element ) if t == "player" then elseif t == "ped" then killPed ( element ) end end Thats the script... It kills Peds when they try to enter the col.
  3. Yes, I was. ( It was not fitting correctly so I made it -200) - Thanks for the help. One more thing, outputChatBox('#FF0000hi", player, 255, 0, 0, true) Why does it not allow me to use the #FFFF00?
  4. I was just flying around in my jetpack and suddenly noticed that createRadarArea is bugged... Look: (Btw, look at the mini map in the images ) How it normally is: I turn the camera slightly and this is what it turns into: How can I fix this? Am I doing something wrong?
  5. <resource src="resource" startup="1" protected="0"/> Add this at: <!-- Specifies resources that are loaded when the server starts and/or which are protected from being stopped. To specify several resources, add more <resource> parameter(s). --> <resource src="admin" startup="1" protected="0"/> <resource src="defaultstats" startup="1" protected="0"/> <resource src="helpmanager" startup="1" protected="0"/> <resource src="joinquit" startup="1" protected="0"/> <resource src="mapcycler" startup="1" protected="0"/> <resource src="mapmanager" startup="1" protected="0"/> <resource src="parachute" startup="1" protected="0"/> <resource src="resourcebrowser" startup="1" protected="1" default="true"/> <resource src="resourcemanager" startup="1" protected="1"/> <resource src="scoreboard" startup="1" protected="0"/> <resource src="spawnmanager" startup="1" protected="0"/> <resource src="voice" startup="1" protected="0" /> <resource src="votemanager" startup="1" protected="0"/> <resource src="webadmin" startup="1" protected="0"/>
  6. Create two labels, and move it next to the other label.
  7. You can't use colour codes in labels.... (LOL) On topic: Do you mean like: Label text:"wwqdqwd(< this part is red) 438348234829394 ( < this part is green)" ??
  8. EDIT: Woops, beat me to it, haha Try that.. setTimer(setPedAnimation, 1000,1,giovanna, "INT_OFFICE", "OFF_Sit_Idle_Loop", -1, false, false, false )
  9. That may mean the files are bugged or dont work.
  10. Because it is not possible SnoopCat.
  11. Xeno

    Font

    I used this on my login panel: local xml = xmlLoadFile( "server.xml" ) local content = xmlNodeGetValue( xml ) guiCreateMemo(01,170,500,220,content,false,windowLogin)
  12. Sorry for the double post, again ( I dont want to make a new topic for such a small problem..) But I cant seem to enter the vehicle if its been made on the table??? Please help D:
  13. Xeno

    Disco help

    Look on the map editer, you can scroll through items/item id's.
  14. You should read the scripting tutorial before even continuing! Well anyway, here: function cars() outputChatBox ( "> replacing the uranus vehicle" ) txd = engineLoadTXD ( "data/uranus.txd" ) engineImportTXD ( txd, 558 ) dff = engineLoadDFF ( "data/uranus.dff", 558 ) engineReplaceModel ( dff, 558 ) outputChatBox ( "> replacing paintjob1" ) paintjob1 = engineLoadTXD ( "data/uranus1.txd" ) engineImportTXD ( paintjob1, 558 ) outputChatBox ( "> replacing paintjob2" ) paintjob2 = engineLoadTXD ( "data/uranus2.txd" ) engineImportTXD ( paintjob2, 558 ) outputChatBox ( "> replacing paintjob3" ) paintjob3 = engineLoadTXD ( "data/uranus3.txd" ) engineImportTXD ( paintjob3, 558 ) outputChatBox ( "> replacing exh_a_u" ) exh_a_u = engineLoadDFF ( "data/exh_a_u.dff" ) engineImportDFF ( exh_a_u, 1089 ) end addCommandHandler("replacecars", cars) Type /replacecars to replace the skins.... And also you need to add the .txd's to your meta.
  15. Like, if I were to enter a certain car, and if that vehicle was the one spawned like this: myvehicle = createVehicle It would output a chat box message. If I use onClientVehicleEnter it will output the text when you enter any vehicle, I need it so it only outputs the text when you enter myVehicle
  16. Sorry for the double post, but how would I get a car if it was like myVehicle = createVehicle(Ect) -- Would I use this?> if vehicle == myVehicle then
  17. How would you like, make a table that spawns cars..? Like this.. carpos = {[carid,[carx],[cary],[carz],[carrotation]} It would be cool if you could help me.
  18. Does seat 0 count as all the passenger seats?
  19. How would I check the player would entered the car? Like if you enter as a passenger.
  20. I would suggest you build the Labels outisde of the function and use guiSetVisible in the triggered function.
  21. Xeno

    Help again.

    No problem. And your added.
×
×
  • Create New...