26.09.2013, 07:02
Hello sa-mp community,
A few weeks ago i started scripting my own little project and now im at the point where everything is in place and now i just wondering if it was possible to add NPC's around the map and when you are in range if them you can start a quest or mini mission by talking to them.
i know that part is possible but how to i make the player take quests/mini missions and how do i reward them if they completed it? like if there is a quest where you need to kill another player and bring back something they drop to the NPC, how do i make that? i hope you guys know what i mean :\
thanks for reading!
edit: also how do i make it so in the area of the NPC's people cant kill each other? i know its something with IsPlayerInRangeOfPoint but how do i make the god mode for that area?. thanks
A few weeks ago i started scripting my own little project and now im at the point where everything is in place and now i just wondering if it was possible to add NPC's around the map and when you are in range if them you can start a quest or mini mission by talking to them.
i know that part is possible but how to i make the player take quests/mini missions and how do i reward them if they completed it? like if there is a quest where you need to kill another player and bring back something they drop to the NPC, how do i make that? i hope you guys know what i mean :\
thanks for reading!
edit: also how do i make it so in the area of the NPC's people cant kill each other? i know its something with IsPlayerInRangeOfPoint but how do i make the god mode for that area?. thanks