23.09.2017, 19:17
PHP код:
UnlockCar(carid);
new msg[128];
new string[128];
new statusString[90];
new newcar = GetPlayerVehicleID(playerid);
new newmodel = GetVehicleModel(newcar);
format(statusString, sizeof(statusString), "~g~%s UNLOCKED", VehiclesName[newmodel-400]);
//ProxMessage(10.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
//SendClientMessage(playerid, X11_WHITE, msg);
} else {
SendClientMessage(playerid, X11_WHITE, "USAGE: /unlock [carindex]");
}
return 1;
}