3B00DG4MER Posted March 20, 2014 Posted March 20, 2014 Hello,Today i made all things there is one thing,I made it when you pickup the model 1247 (Wanted Model) -1 Wanted level Can you give me the code to create pickup with custom model (No mapeditor) SAF/SAO - 30% Skype: Themerzoug2020 in-game name:3B00DG4MER
1B0Y Posted March 20, 2014 Posted March 20, 2014 createPickup() setPlayerWantedLevel() getPlayerWantedLevel() Founder of Kutmode - http://kutmode.com | https://discord.gg/P3FXVnF (Retired) Leading Developer of Grand Theft International (Retired) Leading Developer of Full Theft Auto. (Retired) Owner of SourceMod.
3B00DG4MER Posted March 20, 2014 Author Posted March 20, 2014 createPickup() setPlayerWantedLevel() getPlayerWantedLevel() Thanks But i have said pickup only,i have already made setPlayerWantedLevel SAF/SAO - 30% Skype: Themerzoug2020 in-game name:3B00DG4MER
cheez3d Posted March 20, 2014 Posted March 20, 2014 local pickup_positions = { {0,0,0}, {1,1,1} } for _,pos in ipairs (pickup_positions) do local pickup = createPickup(pos[1],pos[2],pos[3],3,1247) addEventHandler("onPickupHit",pickup,function(player) setPlayerWantedLevel(player,getPlayerWantedLevel(player)+1) destroyElement(source) givePlayerMoney(player,100) end) end
3B00DG4MER Posted March 20, 2014 Author Posted March 20, 2014 local pickup_positions = { {0,0,0}, {1,1,1} } for _,pos in ipairs (pickup_positions) do local pickup = createPickup(pos[1],pos[2],pos[3],3,1247) addEventHandler("onPickupHit",pickup,function(player) setPlayerWantedLevel(player,getPlayerWantedLevel(player)+1) destroyElement(source) givePlayerMoney(player,100) end) end Thanks can you fix the new post SAF/SAO - 30% Skype: Themerzoug2020 in-game name:3B00DG4MER
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