Jump to content

50p

Retired Staff
  • Posts

    2,973
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by 50p

  1. 50p

    Replacing Skins?

    No for model. I'm not sure if textures too.
  2. 50p

    Replacing Skins?

    No for model. I'm not sure if textures too.
  3. If you read the changelog on the download site, you'd know there is no /scripter command any more.
  4. If you read the changelog on the download site, you'd know there is no /scripter command any more.
  5. Have you tried to enter the colshape using a car? If you "hit colshape" with a car, the vehicle element will be passed to that function and what the function thinks is do is check if "vehicle element" is in vehicle. Just do a check, like: function backBeamer( player ) if getElementType( player ) == "player" and not isPlayerInVehicle ( player ) then setElementInterior ( player, 0, 1109.8060302734, 1721.865234375, 10.8203125 ) end end
  6. Have you tried to enter the colshape using a car? If you "hit colshape" with a car, the vehicle element will be passed to that function and what the function thinks is do is check if "vehicle element" is in vehicle. Just do a check, like: function backBeamer( player ) if getElementType( player ) == "player" and not isPlayerInVehicle ( player ) then setElementInterior ( player, 0, 1109.8060302734, 1721.865234375, 10.8203125 ) end end
  7. 50p

    [REL] Black Jack

    You can make the window using not relative values (not 0-1) and you can use the inside elements as relative. This way the cards will always look the same on every screen resolution. I've noticed admin resource is made that way.
  8. 50p

    [REL] Black Jack

    You can make the window using not relative values (not 0-1) and you can use the inside elements as relative. This way the cards will always look the same on every screen resolution. I've noticed admin resource is made that way.
  9. What event have you attached backBeamer function to? Or where do you call it?
  10. What event have you attached backBeamer function to? Or where do you call it?
  11. Kapil, have you read my post on previous page? They will always get the warnings and they will never make it work... I wonder how you managed to run it without problems I've noticed that when you call e.g. loadData_kihc you pass pickup element to that function not player's name! That's what I've found yesterday and I still see it in 0.1.3.
  12. Kapil, have you read my post on previous page? They will always get the warnings and they will never make it work... I wonder how you managed to run it without problems I've noticed that when you call e.g. loadData_kihc you pass pickup element to that function not player's name! That's what I've found yesterday and I still see it in 0.1.3.
  13. These warnings comes up, because e.g. loadData_kihc gets called, but the element parameter is player element, not players name! So you can't use tostring( element ) because the string shows "userdata: ". You need to use getClientName( element ) to get player's name to continue the procedure. In Lua, you always need to make sure that arguments passed to function are the arguments that you expect them to be e.g. string.
  14. These warnings comes up, because e.g. loadData_kihc gets called, but the element parameter is player element, not players name! So you can't use tostring( element ) because the string shows "userdata: ". You need to use getClientName( element ) to get player's name to continue the procedure. In Lua, you always need to make sure that arguments passed to function are the arguments that you expect them to be e.g. string.
  15. If you would like to ignore players that are in a team, you'd need to do a simple check if player is in the team that should not be fired missiles at. It's possible to start/stop resources from different resources. You may have to modify acl.xml to allow resource to call functions such as startResource, stopResource or restartResource.
  16. If you would like to ignore players that are in a team, you'd need to do a simple check if player is in the team that should not be fired missiles at. It's possible to start/stop resources from different resources. You may have to modify acl.xml to allow resource to call functions such as startResource, stopResource or restartResource.
  17. Maybe you try to use it in client-side script?
  18. Maybe you try to use it in client-side script?
  19. It can be. <file src="images/0.png" /> or <file src="images\\0.png" />
  20. It can be. src="images/0.png" /> or src="images\\0.png" />
  21. 50p

    map editor

    Try to avoid spaces in filenames.
  22. 50p

    map editor

    Try to avoid spaces in filenames.
  23. Don't think so. Vehicles in VC are different to the one in SA and because of that you need to convert it manually. There might be a program that allows you to convert VC vehicles to SA format. You can try searching on gtaforums.com
  24. Don't think so. Vehicles in VC are different to the one in SA and because of that you need to convert it manually. There might be a program that allows you to convert VC vehicles to SA format. You can try searching on gtaforums.com
  25. Did you try to replace them both in 1 function?
×
×
  • Create New...