Looking through a few script files for missions, I'm wondering if it's possible to add something to a mission file or the server.pbo file that tests to see if a player is an admin then spawns a vehicle if the player presses a certain key.
Something like this only
if(_isAdmin) {
onKeyPress("G") { //or whatever
createVehicle = "UH1H", 10m from me
}
}
I know there are servers that give donors a perk allowing them to receive a bike spawned next to them when they spawn. I'm just wondering how this is done and what files need to be edited to do it.
Something like this only
if(_isAdmin) {
onKeyPress("G") { //or whatever
createVehicle = "UH1H", 10m from me
}
}
I know there are servers that give donors a perk allowing them to receive a bike spawned next to them when they spawn. I'm just wondering how this is done and what files need to be edited to do it.