Derrekgamer
Active member
Hey i need a hitman cmd man can you help me please ....
The mod should be like this:
when i type the command /gethit the mod should type by it self the next commands:
wait 1 sec after /gethit was used then the mod type :
/my contract ( when that command was typed the mod should make a screen shoot)
wait 500 ms
/order ( the command /order should be used 3 times for more bullets)
wait 500 ms
/order
wait 500ms
/order
/undercover
/turn off
done until here.
Next, when im near on that player, the mod should verify the distance as example i need to be at 105 metters for no fail, if im at 100 metters the mod will tell me by a text on screen that im too close.. and if its posibile the mod will change the sniper weapon with the default (punch - it will take the sniper from my hand) that think should only work on sniper, not when i use knife.
next after i kill the target there will be a text in chat like : user (player name) has succesfully completed the contract on user (player name)
ex : Derrek has succesfully completed the contract on Ajom
Now the mod should detect that text in chat and do the next things :
When that text apear the mod should make a screenshoot, and type the fallowing commands : /turn on wait 500ms /undercover..
And if its posibile i need 3 commands.
/tn will do the fallowing thing - /turn off wait 500ms, /togw wait 500 ms, /togn wait 500ms, /togc.
/ch - will do the fallowing : /cancel hit wait 500ms, /undercover wait 500ms, /killcp wait 500ms, /turn on.
/kc - /killcp
/sp - /spawnchange
You can get the player id (name ) for the mod from the command /gethit, after using tha command /gethit, in chat will apear : You have a new contract on User (player name )
screen shot :
Thats how you can get the player id for using the distance and all of that
////
the proper chatmessage formatting of those strings are :
You have a new contract on Player (/mycontract).
Player has succesfully completed the contract on Player for $1.000.000 ( any value from 70k to 1kk), distance: 244m, weapon sniper.
And there is one more thing..
when I connect to the server, the mod should to detect my id and name. That is for when appears in the chat Player has successfully completed the contract, it needs to me me, because that text "Player has succesfully completed the contract on player" its visibile for everyone, so when someone will make a contract, the mod will start by it self.. so The mod should work only when i did that contract not on someone else, you can do that like this:
1. Samp player connected
2. detect player id & name (detect my name and id)
if text player has succesfully completed the contract on player was found, the player who completed the contract should be the same player that was detected when i connected at point 2. If there is other player and my id or name was not detected the mod should not work (if im not the one who completed the contract.. Because as i said when someone will make a contract it will triger my mod to work with no reason so it need to work only when i completed the contract
@ajom
The mod should be like this:
when i type the command /gethit the mod should type by it self the next commands:
wait 1 sec after /gethit was used then the mod type :
/my contract ( when that command was typed the mod should make a screen shoot)
wait 500 ms
/order ( the command /order should be used 3 times for more bullets)
wait 500 ms
/order
wait 500ms
/order
/undercover
/turn off
done until here.
Next, when im near on that player, the mod should verify the distance as example i need to be at 105 metters for no fail, if im at 100 metters the mod will tell me by a text on screen that im too close.. and if its posibile the mod will change the sniper weapon with the default (punch - it will take the sniper from my hand) that think should only work on sniper, not when i use knife.
next after i kill the target there will be a text in chat like : user (player name) has succesfully completed the contract on user (player name)
ex : Derrek has succesfully completed the contract on Ajom
Now the mod should detect that text in chat and do the next things :
When that text apear the mod should make a screenshoot, and type the fallowing commands : /turn on wait 500ms /undercover..
And if its posibile i need 3 commands.
/tn will do the fallowing thing - /turn off wait 500ms, /togw wait 500 ms, /togn wait 500ms, /togc.
/ch - will do the fallowing : /cancel hit wait 500ms, /undercover wait 500ms, /killcp wait 500ms, /turn on.
/kc - /killcp
/sp - /spawnchange
You can get the player id (name ) for the mod from the command /gethit, after using tha command /gethit, in chat will apear : You have a new contract on User (player name )
screen shot :
Thats how you can get the player id for using the distance and all of that
////
the proper chatmessage formatting of those strings are :
You have a new contract on Player (/mycontract).
Player has succesfully completed the contract on Player for $1.000.000 ( any value from 70k to 1kk), distance: 244m, weapon sniper.
And there is one more thing..
when I connect to the server, the mod should to detect my id and name. That is for when appears in the chat Player has successfully completed the contract, it needs to me me, because that text "Player has succesfully completed the contract on player" its visibile for everyone, so when someone will make a contract, the mod will start by it self.. so The mod should work only when i did that contract not on someone else, you can do that like this:
1. Samp player connected
2. detect player id & name (detect my name and id)
if text player has succesfully completed the contract on player was found, the player who completed the contract should be the same player that was detected when i connected at point 2. If there is other player and my id or name was not detected the mod should not work (if im not the one who completed the contract.. Because as i said when someone will make a contract it will triger my mod to work with no reason so it need to work only when i completed the contract
@ajom