-
Posts
2,963 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Slothman
-
just remove the line we told you about, and itll solve the problem your seeing.
-
the reason dp 2.3 doesnt work is the code that forces a criminal to follow a cop around doesnt operate properly, i couldnt force the camera direction of the player to make sure they face the direction i want.
-
NAdd a little order to the chaos of mta! This script creates an entire legal system to gameplay, great for RPG servers! Players who are acting as police can catch other players who commit crimes. The criminal is then forced to follow the cop to the nearest police cruiser where they will be driven to jail to serve their time. Players being arrested have no control over their character and have no choice but to watch as they are hauled off to prison! https://community.multitheftauto.com/index.php?p=resources&s=details&id=292 Features incude: *Police have ability to arrest people with wanted levels in 3 ways: - smacking them with a nightstick - pulling them out of a car - aiming a weapon at close range (if criminals health is low) *Increase wanted levels when players break the law in these ways: - Jacking a car - Killing a player (cops get wanted for killing innocents) - Stealing a Cop car - Assaulting an officer - Being seen by a cop doing illegal activity (read further for details) *Players have to serve jailtime if arrested (jailtime per wanted star is a server variable) *Cops get rewarded for arresting or klling criminals (rewards are server variables) *Players can be freed by friends if they intercept the arrest *Made to be modular to work with almost any existing rpg servers -Works by detecting players skins -Doesn't alter Team assignments -Doesn't rely on a specific spawning system *Police can arrest up to 2 players at once *Works With Police Bribe Pickups *creates directions to jails for arresting officer *creates blips of players with wanted levels in the map To Make it so the police can detect a player is doing something illegal in your own script, simply assign elementdata to the player "legalstatus" "illegal" while they are doing something illegal. (eg: if you have a script where a player is street racing, set the participant's elementdata while the race is happening. if a policeman sees the player while this is set, the player will get a wanted star). Don't forget to set the elementdata back to nil when the illegal activity is over though!. Questions or comments welcome!
-
what your reading there is a continuation of the comment above it. your "normal" line is its own line, delete it and problem solved
-
will it have zack, AC slater, and screech getting into hijinx? poor mr belding, he really does care about them kids/
-
posting how you solved your problem might help the next guy out
-
youve fallen into the same trap many others have: getTeamName ( playerTeam ) is what you need to get the name of the team. getPlayerTeam ( source ) doesnt really pull up the name. seems redundant, i know, but heres the proper way: local playerTeam = getPlayerTeam ( thePlayer ) local medicTeam = getTeamName ( playerTeam ) if ( medicTeam == "Medic" ) then
-
can you tell if the function is starting? "onResourceStart" is serverside, for clients you need "onClientResourceStart"
-
essentially same deal, just takes a tiny bit more effort
-
map object limits have always been related to how many are streamed in at any given time, if you put all the objects in one very tight space, then youll get issues. spread the objects out so their not in a viewable distance all at once, youll find everything working much more stable. (btw, streaming operates on x/y axis, so object height has nothing to do with it)
-
thats actually pretty nice 50p, dont suppose youd mind people using some of that if they give you credit?
-
heres a bit of code i ripped off of an old script by erorr404. this sounds like what you need. local targetx, targety, targetz = getElementPosition ( yourtarget ) local pedx, pedy, pedz = getElementPosition ( theped ) newangle = ( 360 - math.deg ( math.atan2 ( ( targetx - pedx ), ( targety - pedy ) ) ) ) % 360 as far as i know, its witchcraft, so dont ask me to explain how it works, but it does
-
its another word for witchcraft. you will all burn for you maths!
-
Sth-Bunker, a new map by me, the original creator of stealth and the man who brought you sth-sewers and sth-chinatown using the new map editor. Heres the Community link https://community.multitheftauto.com/index.php?p=resources&s=details&id=276 Please Rate it after trying, and post comments (good or bad) Map makers and Gamemode scripters need feedback! ITS OUR LIFEBLOOD! Also keep an eye out for a update to Stealth, adding new features, bug fixes, and other cool stuff
-
more hair, and i can see it. i always thought clive owen would be a good fido/claude speed should there be a gta movie.
-
its nice to see you take an interest in helping others, maybe if you posted your tutorial here, you can get help fixing it. just paste it into your first post
-
the answer is clear: http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=Ip,+Olla,+La+Salle,+Louisiana+71465&sll=31.886493,-92.173265&sspn=0.056116,0.077248&g=Ip,+Olla,+La+Salle,+Louisiana+71465&ie=UTF8&ll=31.874642,-92.091866&spn=0.224495,0.30899&z=12&iwloc=addr next time just search google yourself
-
tested the maps, they are very nice. most people dont go through the trouble of lining up interior doors correctly, i can tell you put a lot of effort into them. some of those maps were locations i was planning on making maps for too, great minds think alike i guess.
-
http://mtabeta.com/index.html?p=resourc ... ils&id=132 /hope your happy // i feel dirty
-
you could write a simple script that kills a player if they go above a limit and below a limit and include it in your map resource.
-
can do, will do, sorry i forgot to
-
Resources section error.
Slothman replied to Arctos's topic in Site/Forum/Discord/Mantis/Wiki related
guess thats up to me,ill upload it. -
creates an explosion wherever a bullet hits.