Check for fixes resource before starting it
This commit is contained in:
@@ -271,7 +271,9 @@ function enterExitPropertyCommand(command, params, client) {
|
|||||||
function loadGameFixesResource() {
|
function loadGameFixesResource() {
|
||||||
switch(getServerGame()) {
|
switch(getServerGame()) {
|
||||||
case GAME_GTA_III:
|
case GAME_GTA_III:
|
||||||
findResourceByName("asshat-gta3").start();
|
if(findResourceByName("asshat-gta3") != null) {
|
||||||
|
findResourceByName("asshat-gta3").start();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user